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: MonitorRecordExportResp.java
 * @author create by Singer - Singer email:singer-coder@qq.com
 * @date
*/
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class MonitorRecordExportResp implements Serializable {

    private static final long serialVersionUID = 8849635141719578088L;

    /**
     * 被监测者ID
     */
    @NotEmpty(message = "被监测者ID->不可为空")
    @ExcelProperty(value = "被监测者ID")
    private String authUserId;

    /**
     * 记录者ID
     */
    @NotEmpty(message = "记录者ID->不可为空")
    @ExcelProperty(value = "记录者ID")
    private String recorderId;

    /**
     * 监测要素名称
     */
    @NotEmpty(message = "监测要素名称->不可为空")
    @ExcelProperty(value = "监测要素名称")
    private String monitorSubject;

    /**
     * 结果值
     */
    @NotEmpty(message = "结果值->不可为空")
    @ExcelProperty(value = "结果值")
    private String resultValue;

}
