|
|
@@ -95,6 +95,30 @@ public class PagingRelease implements Serializable {
|
|
|
@Column(name = "pr_type")
|
|
|
private String type;
|
|
|
|
|
|
+ /**
|
|
|
+ * 来源表
|
|
|
+ */
|
|
|
+ @Column(name = "pr_table")
|
|
|
+ private String table;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 消息分类 (对接收方来说,单据类型,sale为销售,purc为采购)
|
|
|
+ */
|
|
|
+ @Column(name = "pr_category")
|
|
|
+ private String category;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 来源id
|
|
|
+ */
|
|
|
+ @Column(name = "pr_sourceid")
|
|
|
+ private Long sourceId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 来源id
|
|
|
+ */
|
|
|
+ @Column(name = "pr_tovendor")
|
|
|
+ private short toVendor;
|
|
|
+
|
|
|
/**
|
|
|
* 消息明细
|
|
|
*/
|
|
|
@@ -103,9 +127,11 @@ public class PagingRelease implements Serializable {
|
|
|
@OrderBy("prd_id")
|
|
|
private Set<PagingReleaseDetail> pagingReleaseDetails;
|
|
|
|
|
|
+ public PagingRelease() {
|
|
|
|
|
|
+ }
|
|
|
|
|
|
- public PagingRelease(Long emUU, String emName, Long enUU, Date date, String codeValue, String from, String title, String context, String type) {
|
|
|
+ public PagingRelease(Long emUU, String emName, Long enUU, Date date, String codeValue, String from, String title, String context, String type, Short toVendor, String category, String table, Long sourceId) {
|
|
|
this.emUU = emUU;
|
|
|
this.emName = emName;
|
|
|
this.enUU = enUU;
|
|
|
@@ -115,10 +141,10 @@ public class PagingRelease implements Serializable {
|
|
|
this.title = title;
|
|
|
this.context = context;
|
|
|
this.type = type;
|
|
|
- }
|
|
|
-
|
|
|
- public PagingRelease() {
|
|
|
-
|
|
|
+ this.toVendor = toVendor;
|
|
|
+ this.category = category;
|
|
|
+ this.table = table;
|
|
|
+ this.sourceId = sourceId;
|
|
|
}
|
|
|
|
|
|
public Long getId() {
|
|
|
@@ -218,6 +244,38 @@ public class PagingRelease implements Serializable {
|
|
|
this.type = type;
|
|
|
}
|
|
|
|
|
|
+ public String getTable() {
|
|
|
+ return table;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTable(String table) {
|
|
|
+ this.table = table;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCategory() {
|
|
|
+ return category;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCategory(String category) {
|
|
|
+ this.category = category;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getSourceId() {
|
|
|
+ return sourceId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSourceId(Long sourceId) {
|
|
|
+ this.sourceId = sourceId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public short getToVendor() {
|
|
|
+ return toVendor;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setToVendor(short toVendor) {
|
|
|
+ this.toVendor = toVendor;
|
|
|
+ }
|
|
|
+
|
|
|
@JsonIgnore
|
|
|
@JSONField(serialize = false)
|
|
|
public Set<PagingReleaseDetail> getPagingReleaseDetails() {
|