package com.yuchen.saas.device.api.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;

@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints = 9)
@ExcelIgnoreUnannotated
public class NetDeviceVideoExportExcelVo {

    @ExcelProperty("设备类型")
    private String deviceTypeName;

    @ExcelProperty("产品")
    private String productName;

    @ExcelProperty("设备名称")
    private String deviceAlias;

    @ExcelProperty("设备照片")
    private String filePath;

    @ExcelProperty("设备编码")
    private String deviceName;

    @ExcelProperty("设备状态")
    private String isOnline;

    @ExcelProperty("设备位置")
    private String location;

    @ExcelProperty("项目")
    private String parkName;

    @ExcelProperty("安装空间")
    private String spaceId;

    @ExcelProperty("最后连接时间")
    private Date lastConnectTime;

    @ExcelProperty("最后断开时间")
    private Date lastDisconnectTime;

    @ExcelProperty("备注信息")
    private String remark;

}
