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;//限购数量
|
|
}
|