Browse Source

主动报价增加是否同意过滤字段

hejq 8 years ago
parent
commit
883d660826

+ 18 - 3
search-console-b2b/src/main/java/com/uas/search/console/b2b/model/SaleQuotationSimpleInfo.java

@@ -53,6 +53,8 @@ public class SaleQuotationSimpleInfo {
 
 	public static final String OVERDUE_FIELD = "qu_overdue";
 
+	public static final String AGREED_FIELD = "qu_agreed";
+
 	@Id
 	@Column(name = ID_FIELD)
 	private Long id;
@@ -82,6 +84,12 @@ public class SaleQuotationSimpleInfo {
 	@Column(name = ENDDATE_FIELD)
 	private Date endDate;
 
+	/**
+	 * 客户是否已同意
+	 */
+	@Column(name = AGREED_FIELD)
+	private Short agreed;
+
 	/**
 	 * 企业UU
 	 */
@@ -172,6 +180,14 @@ public class SaleQuotationSimpleInfo {
 		this.endDate = endDate;
 	}
 
+	public Short getAgreed() {
+		return agreed;
+	}
+
+	public void setAgreed(Short agreed) {
+		this.agreed = agreed;
+	}
+
 	@SuppressWarnings("deprecation")
 	public Short getOverdue() {
 		if (status == 314) { // 已作废的算作已失效。
@@ -217,8 +233,7 @@ public class SaleQuotationSimpleInfo {
 	@Override
 	public String toString() {
 		return "SaleQuotationSimpleInfo [id=" + id + ", code=" + code + ", status=" + status + ", date=" + date
-				+ ", endDate=" + endDate + ", enterprise=" + enterprise + ", vend=" + vend + ", saleQuotationItems="
-				+ saleQuotationItems + "]";
+				+ ", endDate=" + endDate + ", agreed=" + agreed + ", enterprise=" + enterprise + ", vend=" + vend
+				+ ", saleQuotationItems=" + saleQuotationItems + ", qu_overdue=" + qu_overdue + "]";
 	}
-
 }