package com.cool.store.entity;

import com.cool.store.enums.ContentSubjectEnum;
import com.cool.store.enums.ContentTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @author   zhangchenbiao
 * @date   2023-05-29 03:50
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class HyContentInfoDO implements Serializable {
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("内容标题")
    private String contentTitle;

    @ApiModelProperty("栏目CODE")
    private ContentSubjectEnum subject;

    @ApiModelProperty("类型 image-图文  video-视频")
    private ContentTypeEnum contentType;

    @ApiModelProperty("封面URL")
    private String cover;

    @ApiModelProperty("状态 0-启用 1-禁用")
    private Integer status;

    @ApiModelProperty("删除标志 0-正常 1-删除")
    private Integer deleted;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;

    @ApiModelProperty("新建人ID")
    private String createUserId;

    @ApiModelProperty("更新人ID")
    private String updateUserId;

    @ApiModelProperty("图文内容或者视频文件URL")
    private String content;
}