package com.mzl.flower.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
import lombok.experimental.Accessors;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* @author @TaoJie
|
* @since 2024-09-09
|
*/
|
@Data
|
@Accessors(chain = true)
|
@TableName("t_flower_delete")
|
public class FlowerDeleteDO{
|
|
@TableId(value = "id")
|
private Long id;
|
|
@TableField("create_by")
|
private String createBy;
|
|
@TableField("create_time")
|
private LocalDateTime createTime;
|
|
@TableField("update_by")
|
private String updateBy;
|
|
@TableField("update_time")
|
private LocalDateTime updateTime;
|
|
@TableField("deleted")
|
@TableLogic
|
private Boolean deleted;
|
|
/**
|
* 分类id
|
*/
|
private Long category;
|
|
/**
|
* 单位
|
*/
|
private String unit;
|
|
/**
|
* 颜色
|
*/
|
private String color;
|
|
/**
|
* 名称
|
*/
|
private String name;
|
|
/**
|
* 封面
|
*/
|
private String cover;
|
|
/**
|
* 轮播图
|
*/
|
private String banners;
|
|
/**
|
* 视频
|
*/
|
private String video;
|
|
/**
|
* 级别; FLOWER_LEVEL
|
*/
|
private String level;
|
|
/**
|
* 所属供应商
|
*/
|
private Long supplierId;
|
|
/**
|
* 供应商价格
|
*/
|
private BigDecimal price;
|
|
/**
|
* 库存
|
*/
|
private Integer stock;
|
|
/**
|
* 状态
|
*/
|
private String status;
|
|
/**
|
* 标签
|
*/
|
private String tags;
|
|
/**
|
* 审核意见
|
*/
|
private String auditRemarks;
|
|
/**
|
* 审核时间
|
*/
|
private LocalDateTime auditTime;
|
|
/**
|
* 是否显示
|
*/
|
private Boolean shown;
|
|
/**
|
* 销量
|
*/
|
private Integer sales;
|
|
/**
|
* 描述
|
*/
|
private String description;
|
|
/**
|
* 是否推荐
|
*/
|
private Boolean recommend;
|
|
/**
|
* 真实销量
|
*/
|
private Integer realSales;
|
|
/**
|
* 推荐排序
|
*/
|
private Integer recommendRank;
|
|
/**
|
* 同类排名
|
*/
|
private Integer typeRank;
|
|
|
}
|