package org.dromara.app.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.app.domain.AppDevice;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AppDevice.class)
public class AppDeviceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "设备编号")
    private String deviceNo;

    @ExcelProperty(value = "用户id")
    private Long userId;

    @ExcelProperty(value = "设备名称")
    private String deviceName;
    private String deviceInitName;

    @ExcelProperty(value = "设备图片")
    private String deviceImg;

    @ExcelProperty(value = "二维码")
    private String qrcode;

    @ExcelProperty(value = "状态")
    private String status;

    private String workStatus;

    @ExcelProperty(value = "电量")
    private String powerLevel;

    @ExcelProperty(value = "电量更新时间")
    private Date powerLevelUpdatatime;

    @ExcelProperty(value = "WiFi名称")
    private String wifiName;

    @ExcelProperty(value = "WiFi密码")
    private String wifiPassword;

    @ExcelProperty(value = "设备型号")
    private String deviceEm;

    @ExcelProperty(value = "设备序列号")
    private String deviceSn;

    @ExcelProperty(value = "固件版本")
    private String fwVer;

    @ExcelProperty(value = "mac地址")
    private String macAddress;

    @ExcelProperty(value = "用户名称")
    private String nickName;

    @ExcelProperty(value = "到期时间")
    private Date expirationTime;
}
