package com.casic.missiles.dto.business.environment;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
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.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel
@Data
@TableName("business_environment_record")
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@ExcelIgnoreUnannotated
public class EnvironmentListResponse {

    @ApiModelProperty(value = "环境记录单id", dataType = "Long")
    private Long id;
    @ApiModelProperty(value = "记录单编号", dataType = "String")
    @ExcelProperty(value = "记录单编号",order = 0)
    private String environmentCode;

    @ApiModelProperty(value = "房间号", dataType = "String")
    @ExcelProperty(value = "房间号",order = 1)
    private String roomNumber;

    @ApiModelProperty(value = "温度", dataType = "String")
    @ExcelProperty(value = "温度",order = 2)
    private String temperature;

    @ApiModelProperty(value = "湿度", dataType = "String")
    @ExcelProperty(value = "湿度",order = 3)
    private String humidity;

    @ApiModelProperty(value = "输出电压", dataType = "String")
    @ExcelProperty(value = "输出电压",order = 4)
    private String outputVoltage;

    @ApiModelProperty(value = "零地电压", dataType = "String")
    @ExcelProperty(value = "零地电压",order = 5)
    private String zeroGroundVoltage;

    @ApiModelProperty(value = "备注", dataType = "String")
    private String remark;

    @ApiModelProperty(value = "记录人", dataType = "String")
    @ExcelProperty(value = "记录人",order = 6)
    private String recorder;

    @ApiModelProperty(value = "创建人", dataType = "String")
    private String createUser;

    @ApiModelProperty(value = "创建时间", dataType = "String")
    private String createTime;

    @ApiModelProperty(value = "记录时间", dataType = "String")
    @ExcelProperty(value = "记录时间",order = 7)
    private String recordTime;

    @TableField("is_del")
    private Boolean isDel;


}
