package org.dromara.web.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.web.domain.SysDevice;

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



/**
 * 设备管理视图对象 sys_device
 *
 * @author Lion Li
 * @date 2025-08-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysDevice.class)
public class SysDeviceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 设备类型
     */
    private String deviceType;

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

    /**
     * 设备编号
     */
    @ExcelProperty(value = "设备编号")
    private String deviceCode;

    /**
     * 设备状态
     */
    @ExcelProperty(value = "设备状态 ", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "device_status")
    private String deviceStatus;

    /**
     * 设备地址
     */
    @ExcelProperty(value = "设备地址")
    private String deviceAddress;

}
