| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- 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 AdType adType;
- private Boolean deleted;
- @Getter
- public enum Type {
- ad("广告"),
- vg("虚拟平台推荐"),
- rg("实物平台推荐"),
- ex("精彩推荐"),
- ;
- String desc;
- Type(String desc) {
- this.desc = desc;
- }
- }
- @Getter
- public enum AdType {
- pc("pc首页"),
- h5("h5首页"),
- pcSec("pc首页副"),
- pcDis("pc发现首页"),
- ;
- String desc;
- AdType(String desc) {
- this.desc = desc;
- }
- }
- }
|