package com.casic.missiles.modular.system.model;

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 lombok.Data;

import java.util.Date;

/**
 * @author cz
 * @date 2022-7-13
 */
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@Data
@ExcelIgnoreUnannotated
public class PantiltDataDto {
    private Long id;
    @ExcelProperty("点位编号")
    private String positionCode;
    @ExcelProperty("设备编号")
    private String devcode;
    @ExcelProperty("方位角")
    private Double dircetion;
    @ExcelProperty("俯仰角")
    private Double pitch;
    @ExcelProperty("浓度值")
    private Double concentration;
    @ExcelProperty("采集时间")
    private Date uptime;
    @ExcelProperty("记录时间")
    private Date logtime;
    private String deptid;
    @ExcelProperty("部门名称")
    private String deptName;
    @ExcelProperty("设备类型")
    private String deviceType;
    @ExcelProperty("设备类型名称")
    private String deviceTypeName;
}
