2 Commits

Author SHA1 Message Date
hugh 94d587705c formating 2026-04-14 21:26:50 +01:00
hugh aa6c87ab90 don't need to track these 2026-04-13 21:13:08 +01:00
2 changed files with 107 additions and 108 deletions
+4 -1
View File
@@ -7,4 +7,7 @@ nbactions.xml
*.log
docker.sock
.DS_Store
.classpath
.factorypath
.settings/
.project
@@ -24,7 +24,6 @@ import com.unicenta.data.loader.DataRead;
import com.unicenta.data.loader.IKeyed;
import com.unicenta.data.loader.SerializerRead;
public class VoucherInfo implements IKeyed {
private String id;
private String voucherNumber;
@@ -40,8 +39,7 @@ public class VoucherInfo implements IKeyed {
String voucherNumber,
String customerName,
double amount,
String status)
{
String status) {
this.id = id;
this.voucherNumber = voucherNumber;
this.customerName = customerName;
@@ -49,7 +47,6 @@ public class VoucherInfo implements IKeyed {
this.status = status;
}
@Override
public Object getKey() {
return getId();
@@ -111,7 +108,6 @@ public class VoucherInfo implements IKeyed {
this.amount = amount;
}
@Override
public String toString() {
return voucherNumber;
@@ -132,8 +128,7 @@ public class VoucherInfo implements IKeyed {
}
public static SerializerRead getSerializerRead() {
return new SerializerRead()
{
return new SerializerRead() {
@Override
public Object readValues(DataRead dr) throws BasicException {
return new VoucherInfo(
@@ -142,6 +137,7 @@ public class VoucherInfo implements IKeyed {
dr.getString(3),
dr.getDouble(4),
dr.getString(5));
}};
}
};
}
}