package com.skr.mdm.bean.vo.alarm;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;

/**
 * @author nfq
 * @date 2021/1/14 17:38
 */
@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignment.LEFT)
@ColumnWidth(20)
public class AlarmRecordExportVO {

    @ExcelIgnore
    private Integer id;
    @ExcelProperty(value = "报警人")
    private String userName;
    @ExcelProperty(value = "部门")
    private String departmentName;
    @ExcelProperty(value = "手机号")
    private String phoneNumber;
    @ExcelProperty(value = "位置")
    private String location;
    @ExcelProperty(value = "服务器接收状态")
    private String state;
    @ExcelProperty(value = "客户端接警状态")
    private String clientState;
    @ExcelProperty(value = "报警时间")
    
    private Date alarmTime;

}
