package com.fdkankan.manage.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fdkankan.db.base.BaseEntity;
import java.sql.Blob;
import java.util.Date;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-06-06
 */
@Data
public class SaveNewsParamVO {

    /**
     * 来源
     */
    @NotBlank(message = "source不能为空")
    private String source;

    /**
     * 新闻类型(1-链接，2-图文)
     */
    @NotNull(message = "newType不能为空")
    private Integer newType;

    /**
     * 标题
     */
    @NotBlank(message = "title不能为空")
    private String title;

    /**
     * 新闻内容
     */
    @NotBlank(message = "content不能为空")
    private String content;

    /**
     * 封面图url
     */
    @NotBlank(message = "coverImageUrl不能为空")
    private String coverImageUrl;

}
