package com.cyksj.model.entity; import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.TableField; import lombok.Getter; import lombok.Setter; /** * @author zwhui * @date 2023/10/11 17:11 */ @Getter @Setter public class Information extends BaseEntity{ /** * 文章标题 */ private String title; /** * 副标题 */ @TableField(updateStrategy = FieldStrategy.IGNORED) private String subTitle; @TableField(updateStrategy = FieldStrategy.IGNORED) private String logo; /** * 文章动图 */ @TableField(updateStrategy = FieldStrategy.IGNORED) private String gif; /** * 是否是黑色文字 默认false */ private Boolean isBlackFont; /** * 缩略图 */ private String thumbnail; /** * 文章类型 */ private String categoryIds; /** * 内容 */ private String content; /** * true 上架 || false 下架 */ private Boolean status; /** * true 推荐 || false */ private Boolean recommend; /** * true 置顶 || false */ private Boolean top; /** * 排序 */ private Integer sorted; /** * true 存在 || false 删除 */ private Boolean deleted; /** * 推荐商品 */ private String goodsIds; }