package com.usky.sas.service.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 设备 Excel 导入行（EasyPoi 解析用，列名需与导出的模板一致）
 */
@Data
public class DeviceImportExcelVO {

    @Excel(name = "设备类型（必填）")
    private Integer deviceType;

    @Excel(name = "设备编号（必填）")
    private String deviceId;

    @Excel(name = "设备IP（可选）")
    private String ipAddr;

    @Excel(name = "端口（必填）")
    private Integer port;

    @Excel(name = "通道号")
    private Integer channel;

    @Excel(name = "视频设备类型")
    private Integer videoDeviceType;

    @Excel(name = "视频协议")
    private Integer videoProtocol;

    @Excel(name = "用户名")
    private String username;

    @Excel(name = "密码")
    private String password;

    @Excel(name = "备注")
    private String note;

    @Excel(name = "安装位置")
    private String address;

    @Excel(name = "部位编码（houseCode）")
    private String houseCode;

    @Excel(name = "经度")
    private BigDecimal lon;

    @Excel(name = "纬度")
    private BigDecimal lat;

    @Excel(name = "高度")
    private BigDecimal alt;

    @Excel(name = "楼层")
    private Integer floor;
}
