|
|
@@ -50,6 +50,8 @@ public class PurchaseOrderSimpleInfo {
|
|
|
|
|
|
public static final String USERUU_FIELD = "pu_useruu";
|
|
|
|
|
|
+ public static final String SOURCE_FIELD = "pu_source";
|
|
|
+
|
|
|
@Id
|
|
|
@Column(name = ID_FIELD)
|
|
|
// TODO
|
|
|
@@ -120,6 +122,12 @@ public class PurchaseOrderSimpleInfo {
|
|
|
@Column(name = USERUU_FIELD)
|
|
|
private Long userUU;
|
|
|
|
|
|
+ /**
|
|
|
+ * 单据来源
|
|
|
+ */
|
|
|
+ @Column(name = SOURCE_FIELD)
|
|
|
+ private String source;
|
|
|
+
|
|
|
public Long getId() {
|
|
|
return id;
|
|
|
}
|
|
|
@@ -221,6 +229,14 @@ public class PurchaseOrderSimpleInfo {
|
|
|
this.end = end;
|
|
|
}
|
|
|
|
|
|
+ public String getSource() {
|
|
|
+ return source;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSource(String source) {
|
|
|
+ this.source = source;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 获取所有可以搜索的字段列名(索引的field名)
|
|
|
*
|
|
|
@@ -235,11 +251,21 @@ public class PurchaseOrderSimpleInfo {
|
|
|
return fields;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return "PurchaseOrderSimpleInfo [id=" + id + ", code=" + code + ", status=" + status + ", reply=" + reply
|
|
|
- + ", end=" + end + ", display=" + display + ", date=" + date + ", enterprise=" + enterprise + ", vend="
|
|
|
- + vend + ", orderItems=" + orderItems + "]";
|
|
|
- }
|
|
|
-
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "PurchaseOrderSimpleInfo{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", code='" + code + '\'' +
|
|
|
+ ", status=" + status +
|
|
|
+ ", reply=" + reply +
|
|
|
+ ", end=" + end +
|
|
|
+ ", display=" + display +
|
|
|
+ ", date=" + date +
|
|
|
+ ", enterprise=" + enterprise +
|
|
|
+ ", vend=" + vend +
|
|
|
+ ", orderItems=" + orderItems +
|
|
|
+ ", userUU=" + userUU +
|
|
|
+ ", source='" + source + '\'' +
|
|
|
+ '}';
|
|
|
+ }
|
|
|
}
|