gongzuming
2024-09-19 a768dc3daa04d35fedfbe75c0a59b9b2545b85c4
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
package com.mzl.flower.entity.flower;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mzl.flower.base.BaseAutoEntity;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Data
@TableName("t_flower")
public class Flower extends BaseAutoEntity {
 
    @TableField("name")
    private String name;//名称
 
    @TableField("category")
    private Long category;//分类id
 
    @TableField("unit")
    private String unit;//单位
 
    @TableField("color")
    private String color;//颜色
 
    @TableField("cover")
    private String cover;//封面
 
    @TableField("banners")
    private String banners;//轮播图
 
    @TableField("video")
    private String video;//视频
 
    @TableField("level")
    private String level;//级别; FLOWER_LEVEL
 
    @TableField("supplier_id")
    private Long supplierId;//所属供应商
 
    @TableField("price")
    private BigDecimal price;//供应商价格
 
    @TableField("stock")
    private Integer stock;//库存
 
    @TableField("status")
    private String status;//状态; FLOWER_STATUS
 
    @TableField("tags")
    private String tags;//标签
 
    @TableField("audit_remarks")
    private String auditRemarks;//审核意见
 
    @TableField("audit_time")
    private LocalDateTime auditTime;//审核时间
 
    @TableField("shown")
    private Boolean shown;//是否显示
 
    @TableField("sales")
    private Integer sales;//销量
 
    @TableField("description")
    private String description;//描述
 
    @TableField("recommend")
    private Boolean recommend;//是否推荐
 
    @TableField("real_sales")
    private Integer realSales;//真实销量
 
    @TableField("recommend_rank")
    private Integer recommendRank;//推荐排序
 
    @TableField("type_rank")
    private Integer typeRank;//同类排序
 
    @TableField("limited")
    private Integer limited;//限购数量
 
}