jiangping
2023-09-18 69c65dda53f5fa7007130e6a7339666b5b5ef52a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
/**
 * 素材库-品类信息表
 * @author 江蹄蹄
 * @date 2023/09/07 11:41
 */
@Data
@ApiModel("素材库-品类信息表")
@TableName("`base_category`")
public class BaseCategory {
 
    @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="创建时间")
    private Date createDate;
 
    @ApiModelProperty(value = "更新人编码", example = "1")
    @ExcelColumn(name="更新人编码")
    private Integer editor;
 
    @ApiModelProperty(value = "更新时间")
    @ExcelColumn(name="更新时间")
    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 = "名称拼音")
    @ExcelColumn(name="名称拼音")
    private String pinyin;
 
    @ApiModelProperty(value = "名称拼音首字母")
    @ExcelColumn(name="名称拼音首字母")
    private String shortPinyin;
    @ApiModelProperty(value = "加价系数",example = "0")
    @ExcelColumn(name="加价系数")
    private BigDecimal priceRate;
 
    @ApiModelProperty(value = "图标 全路径")
    @TableField(exist = false)
    private String imgfullurl;
 
    @ApiModelProperty(value = "品类参数")
    @TableField(exist = false)
    private List<BaseCateParam> baseCateParamList;
}