package cn.common.req;

import cn.common.common.validation.NotEmpty;
import lombok.Data;
import java.time.LocalDateTime;
import java.io.*;

/**
 * 健康知识信息新增Req
 * @title: HealthKnowledgeAddReq.java
 * @author create by Singer - Singer email:singer-coder@qq.com
 * @date 2019/4/24 11:13
 */
@Data
public class HealthKnowledgeAddReq implements Serializable {

    private static final long serialVersionUID = 8551396213479287955L;

    /**
     * 主键ID->ID
     */
    private Long id;

    /**
     * 业务主键ID->"healthKnowledgeId"
     */
    private String healthKnowledgeId;

    /**
     * 健康知识内容
     */
    @NotEmpty(message = "健康知识内容->不可为空")
    private String itemContent;

    /**
     * 健康知识主题
     */
    @NotEmpty(message = "健康知识主题->不可为空")
    private String itemSubject;

    /**
     * 发布者ID
     */
    @NotEmpty(message = "发布者ID->不可为空")
    private String publisherId;

}
