package com.cool.store.dto.content;

import com.cool.store.enums.ContentSubjectEnum;
import com.cool.store.enums.ContentTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ContentAddDto {

    @ApiModelProperty(value = "标题", required = true)
    private String contentTitle;

    @ApiModelProperty(value = "状态,0.启用1.禁用", required = true)
    private String status;

    @ApiModelProperty(value = "栏目code", required = true)
    private ContentSubjectEnum subject;

    @ApiModelProperty(value = "类型", required = true)
    private ContentTypeEnum contentType;

    @ApiModelProperty(value = "封面地址", required = true)
    private String cover;

    @ApiModelProperty(value = "内容（文字信息或视频地址）", required = true)
    private String content;

    @ApiModelProperty(value = "创建用户id", required = true)
    private String createUserId;

}
