|
|
@@ -17,15 +17,19 @@
|
|
|
package org.springblade.client.entity;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 商品详情表实体类
|
|
|
@@ -39,172 +43,117 @@ import java.util.Date;
|
|
|
public class GoodsDesc implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
-
|
|
|
- /**
|
|
|
- * 主键
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "主键")
|
|
|
+ //主键
|
|
|
+ @TableId
|
|
|
private Long id;
|
|
|
- /**
|
|
|
- * 商品编码
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "商品编码")
|
|
|
+ //商品编码
|
|
|
private String code;
|
|
|
- /**
|
|
|
- * 商品名称
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "商品名称")
|
|
|
+ //商品名称
|
|
|
private String cname;
|
|
|
- /**
|
|
|
- * 规格编码
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "规格编码")
|
|
|
+ //英文名称
|
|
|
+ private String ename;
|
|
|
+ //中文描述
|
|
|
+ private String nameDescription;
|
|
|
+ //英文描述
|
|
|
+ private String cnameDescription;
|
|
|
+ //规格编码
|
|
|
private String typeno;
|
|
|
- /**
|
|
|
- * 品牌
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "品牌")
|
|
|
+ //英文规格
|
|
|
+ private String etypeno;
|
|
|
+ //海关编码
|
|
|
+ private String customCode;
|
|
|
+ //海关中文
|
|
|
+ private String customName;
|
|
|
+ //海关英文
|
|
|
+ private String customEname;
|
|
|
+ //退税率
|
|
|
+ private BigDecimal customRate;
|
|
|
+ //轮胎条数
|
|
|
+ private String unit;
|
|
|
+ //品牌
|
|
|
private String brand;
|
|
|
- /**
|
|
|
- * 花纹
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "花纹")
|
|
|
+ //花纹
|
|
|
private String brandItem;
|
|
|
- /**
|
|
|
- * 规格尺寸
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "规格尺寸")
|
|
|
+ //规格尺寸
|
|
|
private String specs;
|
|
|
- /**
|
|
|
- * 产品类别
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "产品类别")
|
|
|
+ //产品类别
|
|
|
private String category;
|
|
|
- /**
|
|
|
- * 产品类型
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "产品类型")
|
|
|
- private Long type;
|
|
|
- /**
|
|
|
- * 供应商
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "供应商")
|
|
|
+ //产品分类
|
|
|
+ private String categoryitem;
|
|
|
+ //备注(收费指示)
|
|
|
private String providers;
|
|
|
- /**
|
|
|
- * 计量单位
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "计量单位")
|
|
|
- private String unit;
|
|
|
- /**
|
|
|
- * 包装单位
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "包装单位")
|
|
|
+ //长度单位
|
|
|
+ private String lengthUnit;
|
|
|
+ //重量单位
|
|
|
+ private String weightUnit;
|
|
|
+ //包装单位
|
|
|
private String packgeunit;
|
|
|
- /**
|
|
|
- * 图片
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "图片")
|
|
|
+ //每箱尺寸
|
|
|
+ private BigDecimal cntrSize;
|
|
|
+ //每个体积
|
|
|
+ private BigDecimal singleVolumn;
|
|
|
+ //每个毛重
|
|
|
+ private BigDecimal singleGrossWeight;
|
|
|
+ //每个净重
|
|
|
+ private BigDecimal singleWeight;
|
|
|
+ //每个箱数
|
|
|
+ private BigDecimal singleCntr;
|
|
|
+ //每箱体积
|
|
|
+ private BigDecimal cntrVolumn;
|
|
|
+ //每箱毛重
|
|
|
+ private BigDecimal cntrGrossWeight;
|
|
|
+ //每箱净重
|
|
|
+ private BigDecimal cntrWeight;
|
|
|
+ //每箱数量
|
|
|
+ private BigDecimal cntrQuantity;
|
|
|
+ //包装描述
|
|
|
+ private String packageDescription;
|
|
|
+ //箱轮胎条数
|
|
|
+ private BigDecimal containerQuantity;
|
|
|
+ //图片
|
|
|
private String url;
|
|
|
- /**
|
|
|
- * 备注
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "备注")
|
|
|
+ //质保期
|
|
|
+ private BigDecimal warrantyPeriod;
|
|
|
+ //频率
|
|
|
+ private String rate;
|
|
|
+ //单价
|
|
|
+ private BigDecimal price;
|
|
|
+ //工时
|
|
|
+ private BigDecimal workingHours;
|
|
|
+ //备注(收费指示)
|
|
|
private String remarks;
|
|
|
- /**
|
|
|
- * 版本
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "版本")
|
|
|
+ //版本
|
|
|
private String version;
|
|
|
- /**
|
|
|
- * 租户id
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "租户id")
|
|
|
+ //租户ID
|
|
|
private String tenantId;
|
|
|
- /**
|
|
|
- * 创建人
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "创建人")
|
|
|
+ //修改人
|
|
|
+ private Long updateUser;
|
|
|
+ //创建人
|
|
|
private Long createUser;
|
|
|
- /**
|
|
|
- * 创建部门
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "创建部门")
|
|
|
+ //创建部门
|
|
|
private Long createDept;
|
|
|
- /**
|
|
|
- * 创建时间
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "创建时间")
|
|
|
+ //创建时间
|
|
|
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date createTime;
|
|
|
- /**
|
|
|
- * 修改人
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "修改人")
|
|
|
- private Long updateUser;
|
|
|
- /**
|
|
|
- * 修改时间
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "修改时间")
|
|
|
+ //修改时间
|
|
|
+ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date updateTime;
|
|
|
- /**
|
|
|
- * 状态(0 正常 1停用)
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "状态(0 正常 1停用)")
|
|
|
+ //状态(0 正常 1停用)
|
|
|
private Integer status;
|
|
|
- /**
|
|
|
- * 是否已删除(0 否 1是)
|
|
|
- */
|
|
|
- //@TableLogic
|
|
|
- @ApiModelProperty(value = "是否已删除(0 否 1是)")
|
|
|
+ //是否已删除(0 否 1是)
|
|
|
+ @TableLogic
|
|
|
private Integer isDeleted;
|
|
|
- /**
|
|
|
- * 商品类别
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "商品类别")
|
|
|
- @TableField(exist = false)
|
|
|
+ //枚举
|
|
|
+ private Long type;
|
|
|
+
|
|
|
private String goodsTypeId;
|
|
|
- /**
|
|
|
- * 商品类别名称
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "商品类别名称")
|
|
|
- @TableField(exist = false)
|
|
|
- private String goodsTypeName;
|
|
|
- /**
|
|
|
- * 规格型号
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "规格型号")
|
|
|
- @TableField(exist = false)
|
|
|
- private String specificationAndModel;
|
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
+ private List<GoodsPrice> saleGoodsPrice;
|
|
|
|
|
|
- /**
|
|
|
- * 产品分类
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "产品分类")
|
|
|
- private String categoryItem;
|
|
|
- /**
|
|
|
- * 轮胎条数
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "轮胎条数")
|
|
|
- private BigDecimal containerQuantity;
|
|
|
- /**
|
|
|
- * 保质期
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "保质期")
|
|
|
- private Date warrantyPeriod;
|
|
|
- /**
|
|
|
- * 频率
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "频率")
|
|
|
- private String rate;
|
|
|
- /**
|
|
|
- * 单价
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "单价")
|
|
|
- private BigDecimal price;
|
|
|
- /**
|
|
|
- * 工时
|
|
|
- */
|
|
|
- @ApiModelProperty(value = "工时")
|
|
|
- private BigDecimal workingHours;
|
|
|
+ @TableField(exist = false)
|
|
|
+ private List<GoodsPrice> bugGoodsPrice;
|
|
|
|
|
|
}
|