Browse Source

合作伙伴增加启用禁用状态

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@8511 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 years ago
parent
commit
e58667aa9d

+ 55 - 1
src/main/java/com/uas/platform/b2b/temporary/model/BasePartnersInfo.java

@@ -104,6 +104,26 @@ public class BasePartnersInfo implements Serializable {
 	 */
 	private Short customer;
 
+	/**
+	 * 平台的供应商表的id(供应商)
+	 */
+	private Long vendorId;
+
+	/**
+	 * 平台供应商表的id(客户)
+	 */
+	private Long custId;
+
+	/**
+	 * 供应商开关
+	 */
+	private Short vendswitch;
+
+	/**
+	 * 客户开关
+	 */
+	private Short custswitch;
+
 	public Long getId() {
 		return id;
 	}
@@ -240,13 +260,47 @@ public class BasePartnersInfo implements Serializable {
 		this.reason = reason;
 	}
 
+	public Long getVendorId() {
+		return vendorId;
+	}
+
+	public void setVendorId(Long vendorId) {
+		this.vendorId = vendorId;
+	}
+
+	public Short getVendswitch() {
+		return vendswitch;
+	}
+
+	public void setVendswitch(Short vendswitch) {
+		this.vendswitch = vendswitch;
+	}
+
+	public Short getCustswitch() {
+		return custswitch;
+	}
+
+	public void setCustswitch(Short custswitch) {
+		this.custswitch = custswitch;
+	}
+
+	public Long getCustId() {
+		return custId;
+	}
+
+	public void setCustId(Long custId) {
+		this.custId = custId;
+	}
+
 	@Override
 	public String toString() {
 		return "BasePartnersInfo [id=" + id + ", appId=" + appId + ", requestDate=" + requestDate + ", vendName="
 				+ vendName + ", vendUID=" + vendUID + ", vendUserName=" + vendUserName + ", vendUserTel=" + vendUserTel
 				+ ", vendUserEmail=" + vendUserEmail + ", vendUserCode=" + vendUserCode + ", operateDate=" + operateDate
 				+ ", method=" + method + ", statusCode=" + statusCode + ", custUserName=" + custUserName
-				+ ", custUserTel=" + custUserTel + ", reason=" + reason + "]";
+				+ ", custUserTel=" + custUserTel + ", reason=" + reason + ", vendor=" + vendor + ", customer="
+				+ customer + ", vendorId=" + vendorId + ", vendswitch=" + vendswitch + ", custswitch=" + custswitch
+				+ ", custId=" + custId + "]";
 	}
 
 }