package org.dromara.personnel.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.personnel.domain.OpsEquipment;
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 java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 运维-设备视图对象 ops_equipment
 *
 * @author LionLi
 * @date 2025-09-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = OpsEquipment.class)
public class OpsEquipmentVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 设备id
     */
    @ExcelProperty(value = "设备id")
    private String deviceId;

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

    /**
     * 设备类型
     */
    @ExcelProperty(value = "设备类型")
    private String deviceType;

    /**
     * 所属电站
     */
    @ExcelProperty(value = "所属电站")
    private String affiliationPowerStation;

    /**
     * 通讯协议
     */
    @ExcelProperty(value = "通讯协议")
    private String commProtocol;

    /**
     * IP地址
     */
    @ExcelProperty(value = "IP地址")
    private String ipAdd;

    /**
     * 最后在线时间
     */
    @ExcelProperty(value = "最后在线时间")
    private Date lastOnlineTime;

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


}
