| package com.doumee.dao.business.model; | 
|   | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import com.doumee.core.annotation.excel.ExcelColumn; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import com.baomidou.mybatisplus.annotation.IdType; | 
| import com.baomidou.mybatisplus.annotation.TableId; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import lombok.Data; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import java.util.Date; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 品类信息表 | 
|  * @author 江蹄蹄 | 
|  * @date 2023/05/12 13:58 | 
|  */ | 
| @Data | 
| @ApiModel("品类信息表") | 
| @TableName("`category`") | 
| public class Category { | 
|   | 
|     @TableId(type = IdType.AUTO) | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     @ExcelColumn(name="主键") | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "创建人编码", example = "1") | 
|     @ExcelColumn(name="创建人编码") | 
|     private Integer creator; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     @ExcelColumn(name="创建时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date createDate; | 
|   | 
|     @ApiModelProperty(value = "更新人编码", example = "1") | 
|     @ExcelColumn(name="更新人编码") | 
|     private Integer editor; | 
|   | 
|     @ApiModelProperty(value = "更新时间") | 
|     @ExcelColumn(name="更新时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date editDate; | 
|   | 
|     @ApiModelProperty(value = "是否删除0否 1是", example = "1") | 
|     @ExcelColumn(name="是否删除0否 1是") | 
|     private Integer isdeleted; | 
|   | 
|     @ApiModelProperty(value = "名称(不可重复)") | 
|     @ExcelColumn(name="名称(不可重复)") | 
|     private String name; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     @ExcelColumn(name="备注") | 
|     private String remark; | 
|   | 
|     @ApiModelProperty(value = "属性1名称") | 
|     @ExcelColumn(name="属性1名称") | 
|     private String attrFirst; | 
|   | 
|     @ApiModelProperty(value = "属性2名称") | 
|     @ExcelColumn(name="属性2名称") | 
|     private String attrSecond; | 
|   | 
|     @ApiModelProperty(value = "状态 0启用 1禁用", example = "1") | 
|     @ExcelColumn(name="状态 0启用 1禁用") | 
|     private Integer status; | 
|   | 
|     @ApiModelProperty(value = "排序码", example = "1") | 
|     @ExcelColumn(name="排序码") | 
|     private Integer sortnum; | 
|   | 
|     @ApiModelProperty(value = "图标") | 
|     @ExcelColumn(name="图标") | 
|     private String imgurl; | 
|   | 
|     @ApiModelProperty(value = "前缀路径") | 
|     @TableField(exist = false) | 
|     private String prefixUrl; | 
|   | 
|     @ApiModelProperty(value = "名称拼音") | 
|     @ExcelColumn(name="名称拼音") | 
|     private String pinyin; | 
|   | 
|     @ApiModelProperty(value = "名称拼音首字母") | 
|     @ExcelColumn(name="名称拼音首字母") | 
|     private String shortPinyin; | 
|     @ApiModelProperty(value = "企业编码") | 
|     @ExcelColumn(name="企业编码") | 
|     private Integer companyId; | 
|     @ApiModelProperty(value = "平台分类编码") | 
|     @ExcelColumn(name="平台分类编码") | 
|     private Integer platCateId; | 
|     @ApiModelProperty(value = "类型 0自建 1平台关联") | 
|     @ExcelColumn(name="类型") | 
|     private Integer type; | 
|   | 
|   | 
|     @ApiModelProperty(value = "参数名称 列表值") | 
|     @TableField(exist = false) | 
|     private List<CateParam> paramList; | 
|   | 
|     @ApiModelProperty(value = "属性1 列表值"  ,hidden = true) | 
|     @TableField(exist = false) | 
|     private List<CateAttr> attrFirstList; | 
|   | 
|     @ApiModelProperty(value = "属性2 列表值"  ,hidden = true) | 
|     @TableField(exist = false) | 
|     private List<CateAttr> attrSecondList; | 
|   | 
|     @ApiModelProperty(value = "价格区间 列表") | 
|     @TableField(exist = false) | 
|     private List<CateBudget> budgetList; | 
|   | 
|     @ApiModelProperty(value = "属性1 列表值") | 
|     @TableField(exist = false) | 
|     private List<CateParamSelect> cateParamFirstList; | 
|   | 
|     @ApiModelProperty(value = "属性2 列表值") | 
|     @TableField(exist = false) | 
|     private List<CateParamSelect> cateParamSecondList; | 
| } |