package com.mzl.flower.entity.flower; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.mzl.flower.base.BaseAutoPhyEntity; import lombok.Data; @Data @TableName("t_flower_category") public class FlowerCategory extends BaseAutoPhyEntity { @TableField("name") private String name;//名称 @TableField("parent_id") private Long parentId;//父分类id @TableField("parent_name") private String parentName;//父分类名称 @TableField("color") private String color;//颜色 @TableField("unit") private String unit;//单位 @TableField("image_url") private String imageUrl;//图片 @TableField("sort_by") private Integer sortBy;//排序 @TableField("param_id") private Long paramId;//参数集id @TableField("weight") private Double weight;//重量 @TableField("weight_a") private Double weightA;//A级重量 @TableField("weight_b") private Double weightB;//B级重量 @TableField("weight_c") private Double weightC;//C级重量 @TableField("weight_d") private Double weightD;//D级重量 @TableField("weight_e") private Double weightE;//E级重量 @TableField("weight_o") private Double weightO;//O级重量 @TableField("shown") private Boolean shown;//是否展示 @TableField("level_limit") private String levelLimit;//级别限制 }