|
@@ -16,7 +16,7 @@ public class GoodsDto {
|
|
|
/**
|
|
|
* 名称
|
|
|
*/
|
|
|
- private String name;
|
|
|
+ private String gName;
|
|
|
|
|
|
/**
|
|
|
* 主图
|
|
@@ -36,7 +36,7 @@ public class GoodsDto {
|
|
|
/**
|
|
|
* 编号
|
|
|
*/
|
|
|
- private String code;
|
|
|
+ private String hsCode;
|
|
|
|
|
|
/**
|
|
|
* 备注
|
|
@@ -58,7 +58,7 @@ public class GoodsDto {
|
|
|
/**
|
|
|
*
|
|
|
*/
|
|
|
- private String unit;
|
|
|
+ private String gUnit;
|
|
|
|
|
|
/**
|
|
|
*
|
|
@@ -108,50 +108,50 @@ public class GoodsDto {
|
|
|
*/
|
|
|
private Integer deleteStatus;
|
|
|
|
|
|
- public GoodsDto(String name, String avatar, String typeIds, String typeNames, String code, String remark, String source, int status, String unit, Double singlePrice, String taxNo, Date createTime, String createBy, String createName, Date updateTime, String updateBy, String updateName, Integer deleteStatus) {
|
|
|
- this.name = name;
|
|
|
- this.avatar = avatar;
|
|
|
- this.typeIds = typeIds;
|
|
|
- this.typeNames = typeNames;
|
|
|
- this.code = code;
|
|
|
- this.remark = remark;
|
|
|
- this.source = source;
|
|
|
- this.status = status;
|
|
|
- this.unit = unit;
|
|
|
- this.singlePrice = singlePrice;
|
|
|
- this.taxNo = taxNo;
|
|
|
- this.createTime = createTime;
|
|
|
- this.createBy = createBy;
|
|
|
- this.createName = createName;
|
|
|
- this.updateTime = updateTime;
|
|
|
- this.updateBy = updateBy;
|
|
|
- this.updateName = updateName;
|
|
|
- this.deleteStatus = deleteStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public GoodsDto(Long id, String name, String avatar, String typeIds, String typeNames, String code, String remark, String source, int status, String unit, Double singlePrice, String taxNo, Date createTime, String createBy, String createName, Date updateTime, String updateBy, String updateName, Integer deleteStatus) {
|
|
|
- this.id = id;
|
|
|
- this.name = name;
|
|
|
- this.avatar = avatar;
|
|
|
- this.typeIds = typeIds;
|
|
|
- this.typeNames = typeNames;
|
|
|
- this.code = code;
|
|
|
- this.remark = remark;
|
|
|
- this.source = source;
|
|
|
- this.status = status;
|
|
|
- this.unit = unit;
|
|
|
- this.singlePrice = singlePrice;
|
|
|
- this.taxNo = taxNo;
|
|
|
- this.createTime = createTime;
|
|
|
- this.createBy = createBy;
|
|
|
- this.createName = createName;
|
|
|
- this.updateTime = updateTime;
|
|
|
- this.updateBy = updateBy;
|
|
|
- this.updateName = updateName;
|
|
|
- this.deleteStatus = deleteStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public GoodsDto() {
|
|
|
+ /**
|
|
|
+ * 第一计量单位
|
|
|
+ */
|
|
|
+ private String unit1;
|
|
|
+ /**
|
|
|
+ * 第二计量单位
|
|
|
+ */
|
|
|
+ private String unit2;
|
|
|
+ /**
|
|
|
+ * 用途
|
|
|
+ */
|
|
|
+ private String useTo;
|
|
|
+ /**
|
|
|
+ * 存储条件
|
|
|
+ */
|
|
|
+ private String storageEnvm;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "GoodsDto{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", gName='" + gName + '\'' +
|
|
|
+ ", avatar='" + avatar + '\'' +
|
|
|
+ ", typeIds='" + typeIds + '\'' +
|
|
|
+ ", typeNames='" + typeNames + '\'' +
|
|
|
+ ", hsCode='" + hsCode + '\'' +
|
|
|
+ ", remark='" + remark + '\'' +
|
|
|
+ ", source='" + source + '\'' +
|
|
|
+ ", status=" + status +
|
|
|
+ ", gUnit='" + gUnit + '\'' +
|
|
|
+ ", singlePrice=" + singlePrice +
|
|
|
+ ", taxNo='" + taxNo + '\'' +
|
|
|
+ ", createTime=" + createTime +
|
|
|
+ ", createBy='" + createBy + '\'' +
|
|
|
+ ", createName='" + createName + '\'' +
|
|
|
+ ", updateTime=" + updateTime +
|
|
|
+ ", updateBy='" + updateBy + '\'' +
|
|
|
+ ", updateName='" + updateName + '\'' +
|
|
|
+ ", deleteStatus=" + deleteStatus +
|
|
|
+ ", unit1='" + unit1 + '\'' +
|
|
|
+ ", unit2='" + unit2 + '\'' +
|
|
|
+ ", useTo='" + useTo + '\'' +
|
|
|
+ ", storageEnvm='" + storageEnvm + '\'' +
|
|
|
+ '}';
|
|
|
}
|
|
|
|
|
|
public Long getId() {
|
|
@@ -162,12 +162,12 @@ public class GoodsDto {
|
|
|
this.id = id;
|
|
|
}
|
|
|
|
|
|
- public String getName() {
|
|
|
- return name;
|
|
|
+ public String getgName() {
|
|
|
+ return gName;
|
|
|
}
|
|
|
|
|
|
- public void setName(String name) {
|
|
|
- this.name = name;
|
|
|
+ public void setgName(String gName) {
|
|
|
+ this.gName = gName;
|
|
|
}
|
|
|
|
|
|
public String getAvatar() {
|
|
@@ -194,12 +194,12 @@ public class GoodsDto {
|
|
|
this.typeNames = typeNames;
|
|
|
}
|
|
|
|
|
|
- public String getCode() {
|
|
|
- return code;
|
|
|
+ public String getHsCode() {
|
|
|
+ return hsCode;
|
|
|
}
|
|
|
|
|
|
- public void setCode(String code) {
|
|
|
- this.code = code;
|
|
|
+ public void setHsCode(String hsCode) {
|
|
|
+ this.hsCode = hsCode;
|
|
|
}
|
|
|
|
|
|
public String getRemark() {
|
|
@@ -226,12 +226,12 @@ public class GoodsDto {
|
|
|
this.status = status;
|
|
|
}
|
|
|
|
|
|
- public String getUnit() {
|
|
|
- return unit;
|
|
|
+ public String getgUnit() {
|
|
|
+ return gUnit;
|
|
|
}
|
|
|
|
|
|
- public void setUnit(String unit) {
|
|
|
- this.unit = unit;
|
|
|
+ public void setgUnit(String gUnit) {
|
|
|
+ this.gUnit = gUnit;
|
|
|
}
|
|
|
|
|
|
public Double getSinglePrice() {
|
|
@@ -305,4 +305,65 @@ public class GoodsDto {
|
|
|
public void setDeleteStatus(Integer deleteStatus) {
|
|
|
this.deleteStatus = deleteStatus;
|
|
|
}
|
|
|
+
|
|
|
+ public String getUnit1() {
|
|
|
+ return unit1;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUnit1(String unit1) {
|
|
|
+ this.unit1 = unit1;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getUnit2() {
|
|
|
+ return unit2;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUnit2(String unit2) {
|
|
|
+ this.unit2 = unit2;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getUseTo() {
|
|
|
+ return useTo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUseTo(String useTo) {
|
|
|
+ this.useTo = useTo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getStorageEnvm() {
|
|
|
+ return storageEnvm;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStorageEnvm(String storageEnvm) {
|
|
|
+ this.storageEnvm = storageEnvm;
|
|
|
+ }
|
|
|
+
|
|
|
+ public GoodsDto(Long id, String gName, String avatar, String typeIds, String typeNames, String hsCode, String remark, String source, int status, String gUnit, Double singlePrice, String taxNo, Date createTime, String createBy, String createName, Date updateTime, String updateBy, String updateName, Integer deleteStatus, String unit1, String unit2, String useTo, String storageEnvm) {
|
|
|
+ this.id = id;
|
|
|
+ this.gName = gName;
|
|
|
+ this.avatar = avatar;
|
|
|
+ this.typeIds = typeIds;
|
|
|
+ this.typeNames = typeNames;
|
|
|
+ this.hsCode = hsCode;
|
|
|
+ this.remark = remark;
|
|
|
+ this.source = source;
|
|
|
+ this.status = status;
|
|
|
+ this.gUnit = gUnit;
|
|
|
+ this.singlePrice = singlePrice;
|
|
|
+ this.taxNo = taxNo;
|
|
|
+ this.createTime = createTime;
|
|
|
+ this.createBy = createBy;
|
|
|
+ this.createName = createName;
|
|
|
+ this.updateTime = updateTime;
|
|
|
+ this.updateBy = updateBy;
|
|
|
+ this.updateName = updateName;
|
|
|
+ this.deleteStatus = deleteStatus;
|
|
|
+ this.unit1 = unit1;
|
|
|
+ this.unit2 = unit2;
|
|
|
+ this.useTo = useTo;
|
|
|
+ this.storageEnvm = storageEnvm;
|
|
|
+ }
|
|
|
+
|
|
|
+ public GoodsDto() {
|
|
|
+ }
|
|
|
}
|