|
@@ -26,9 +26,15 @@ public class CustomersStart extends BaseEntity
|
|
private String customersName;
|
|
private String customersName;
|
|
|
|
|
|
/** 经销商名称 */
|
|
/** 经销商名称 */
|
|
- @Excel(name = "经销商名称")
|
|
|
|
|
|
+ @Excel(name = "上线日期")
|
|
private Date onlineTime;
|
|
private Date onlineTime;
|
|
|
|
|
|
|
|
+ /** 上线事业部 DIY/厨卫/ALL*/
|
|
|
|
+ private Integer customerType;
|
|
|
|
+
|
|
|
|
+ @Excel(name = "上线事业部")
|
|
|
|
+ private String customerTypeFormat;
|
|
|
|
+
|
|
public void setCustomersCode(String customersCode)
|
|
public void setCustomersCode(String customersCode)
|
|
{
|
|
{
|
|
this.customersCode = customersCode;
|
|
this.customersCode = customersCode;
|
|
@@ -56,6 +62,30 @@ public class CustomersStart extends BaseEntity
|
|
this.onlineTime = onlineTime;
|
|
this.onlineTime = onlineTime;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public Integer getCustomerType() {
|
|
|
|
+ return customerType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCustomerType(Integer customerType) {
|
|
|
|
+ this.customerType = customerType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getCustomerTypeFormat() {
|
|
|
|
+ return customerTypeFormat;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCustomerTypeFormat() {
|
|
|
|
+ if (customerType != null && customerType == 1) {
|
|
|
|
+ this.customerTypeFormat = "DIY";
|
|
|
|
+ } else if (customerType != null && customerType == 2) {
|
|
|
|
+ this.customerTypeFormat = "厨卫";
|
|
|
|
+ } else if (customerType != null && customerType == 3) {
|
|
|
|
+ this.customerTypeFormat = "DIY+厨卫";
|
|
|
|
+ } else {
|
|
|
|
+ this.customerTypeFormat = "";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public String toString() {
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|