package cn.common.resp;

import cn.common.common.validation.NotEmpty;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.*;

/**
 * 健康知识信息数据导出请求封装类
 * @title: HealthKnowledgeExportResp.java
 * @author create by Singer - Singer email:singer-coder@qq.com
 * @date
*/
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class HealthKnowledgeExportResp implements Serializable {

    private static final long serialVersionUID = -5024713243807591243L;

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

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

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

}
