| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- package com.cyksj.model.entity;
- import com.baomidou.mybatisplus.annotation.FieldStrategy;
- import com.baomidou.mybatisplus.annotation.TableField;
- import lombok.Getter;
- import lombok.Setter;
- /*
- *项目名: netflix
- *文件名: HomeManagementConfig
- *创建者: JavaZou
- *创建时间:2023/8/17 15:49
- */
- @Getter
- @Setter
- public class HomeManagementConfig extends BaseEntity{
- private String title;
- private String pic;
- private String url;
- private Long goodsId;
- private Type type;
- private Integer sorted;
- private String tag;
- private Boolean status;
- /**
- * 定时上下架状态 默认null
- */
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private Boolean preStatus;
- /**
- * 定时上下架时间
- */
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private Long time;
- private Boolean deleted;
- @Getter
- public enum Type {
- ad("广告"),
- vg("虚拟平台推荐"),
- rg("实物平台推荐"),
- ex("精彩推荐"),
- ;
- String desc;
- Type(String desc) {
- this.desc = desc;
- }
- }
- }
|