package com.skr.mdm.bean.so.export;

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

import java.io.Serializable;

/**
 * @ProjectName: mdm_new
 * @Package: com.skr.mdm.pojo.so
 * @ClassName: device
 * @Author: Tty
 * @Description: 设备
 * @Date: 2020/11/12 17:56
 * @Version: 1.0
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(20)
public class DeviceExcelInfoSO implements Serializable {
	private static final long serialVersionUID = -8069828233864101368L;
	/**
	 * 用户名
	 */
	@ExcelProperty("设备名")
	private String deviceName;

	/**
	 * 设备名
	 */
	@ExcelProperty("用户名")
	private String userName;

	/**
	 * 设备类型 1:手机 2:手环 3：记录仪
	 */
	@ExcelProperty("类型")
	private String deviceType;

	@ExcelProperty("手机号")
	private String phoneNumber;

	@ExcelProperty({"（必填，可三选一）", "imei"})
	@ColumnWidth(23)
	private String imei;

	@ExcelProperty({"（必填，可三选一）", "uuid"})
	@ColumnWidth(23)
	private String uuid;

	@ExcelProperty({"（必填，可三选一）", "oaid"})
	@ColumnWidth(23)
	private String oaid;

	@ExcelProperty("失败原因")
	@ColumnWidth(35)
	private String info;

}
