|
@@ -84,7 +84,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.commodityType = commodityType;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=50, message="名称长度必须介于 0 和 50 之间")
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
}
|
|
@@ -93,7 +92,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.name = name;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=50, message="别名长度必须介于 0 和 50 之间")
|
|
|
public String getAlias() {
|
|
|
return alias;
|
|
|
}
|
|
@@ -102,7 +100,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.alias = alias;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=300, message="描述长度必须介于 0 和 300 之间")
|
|
|
public String getDiscription() {
|
|
|
return discription;
|
|
|
}
|
|
@@ -119,7 +116,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.image = image;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=500, message="优点长度必须介于 0 和 500 之间")
|
|
|
public String getAdvantage() {
|
|
|
return advantage;
|
|
|
}
|
|
@@ -128,7 +124,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.advantage = advantage;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=500, message="缺点长度必须介于 0 和 500 之间")
|
|
|
public String getDisadvantage() {
|
|
|
return disadvantage;
|
|
|
}
|
|
@@ -137,7 +132,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.disadvantage = disadvantage;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=500, message="原理长度必须介于 0 和 500 之间")
|
|
|
public String getPrinciple() {
|
|
|
return principle;
|
|
|
}
|
|
@@ -146,7 +140,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.principle = principle;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=50, message="品牌长度必须介于 0 和 50 之间")
|
|
|
public String getBrand() {
|
|
|
return brand;
|
|
|
}
|
|
@@ -155,7 +148,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.brand = brand;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=50, message="产地长度必须介于 0 和 50 之间")
|
|
|
public String getProducePlace() {
|
|
|
return producePlace;
|
|
|
}
|
|
@@ -164,7 +156,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.producePlace = producePlace;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=50, message="公司/供应商长度必须介于 0 和 50 之间")
|
|
|
public String getCompany() {
|
|
|
return company;
|
|
|
}
|
|
@@ -189,7 +180,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.nmpaTime = nmpaTime;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=500, message="适应人群长度必须介于 0 和 500 之间")
|
|
|
public String getAdaptiveMan() {
|
|
|
return adaptiveMan;
|
|
|
}
|
|
@@ -198,7 +188,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.adaptiveMan = adaptiveMan;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=500, message="不适应人群长度必须介于 0 和 500 之间")
|
|
|
public String getUnAdaptiveMan() {
|
|
|
return unAdaptiveMan;
|
|
|
}
|
|
@@ -207,7 +196,6 @@ public class CmBaikeProduct extends DataEntity<CmBaikeProduct> {
|
|
|
this.unAdaptiveMan = unAdaptiveMan;
|
|
|
}
|
|
|
|
|
|
- @Length(min=0, max=500, message="术前术后长度必须介于 0 和 500 之间")
|
|
|
public String getAroundOperation() {
|
|
|
return aroundOperation;
|
|
|
}
|