@@ -0,0 +1,855 @@
+package cane.brothers.russianpost.client.data;%0A%0Apublic class TreatmentPostEntry extends PostEntry %7B%0A%0A%0A%09private boolean isTreated;%0A%09%0A%09/**%0A%09 * Constructor%0A%09 * %0A%09 * @param post post entry%0A%09 */%0A%09public TreatmentPostEntry(PostEntry post) %7B%0A%09%09this(post, false);%0A%09%7D%0A%09%0A%09/**%0A%09 * Constructor%0A%09 * %0A%09 * @param post post entry%0A%09 * @param treated is treaded flag%0A%09 */%0A%09public TreatmentPostEntry(PostEntry post, boolean treated) %7B%0A%09%09super(post);%0A%09%09isTreated = treated;%0A%09%7D%0A%0A%09public boolean isTreated() %7B%0A%09%09return isTreated;%0A%09%7D%0A%0A%09public void setTreated(boolean isTreated) %7B%0A%09%09this.isTreated = isTreated;%0A%09%7D%0A%09%0A%09@Override%0A%09public String toString() %7B%0A%09%09StringBuilder builder = new StringBuilder();%0A%09%09builder.append(%22%D0%9F%D0%9E %22).append(getBarcode()).append(%22; %D0%BD%D0%BE%D0%BC%D0%B5%D1%80 %D0%B7%D0%B0%D0%BA%D0%B0%D0%B7%D0%B0: %22)%0A%09%09%09%09.append(getArticle()).append(%22; %D0%BE%D0%B1%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%B0%D0%BD%D0%BE: %22).append(isTreated);%0A%09%09return builder.toString();%0A%09%7D%0A%0A%7D%0A

add treatment post entry