package com.casic.missiles.modular.system.dto.ExcelModel;

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

/**
 *  * @author cz
 *  * @date 2022-6-22
 * 设备监控数据
 */
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@Data
@ExcelIgnoreUnannotated
@NoArgsConstructor
public class WellCoverDataDto {

    /**
     */
    @ExcelProperty("设备编号")
    private String devcode;
    @ExcelProperty("点位编号")
    private String wellCode;
    private Long deviceType;
    @ExcelProperty("状态描述")
    private String descn;
    @ExcelProperty("设备类型")
    private String deviceTypeName;
    private Long deptid;
    @ExcelProperty("权属单位")
    private String deptName;
//    @ExcelProperty("日志时间")
    @ExcelProperty("上传时间")
    private String logtime;
//    @ExcelProperty("状态")
    private String status;
}

