package org.dromara.personnel.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 运维-设备对象 ops_equipment
 *
 * @author LionLi
 * @date 2025-09-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ops_equipment")
public class OpsEquipment extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 设备id
     */
    private String deviceId;

    /**
     * 设备名称
     */
    private String deviceName;

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

    /**
     * 所属电站
     */
    private String affiliationPowerStation;

    /**
     * 通讯协议
     */
    private String commProtocol;

    /**
     * IP地址
     */
    private String ipAdd;

    /**
     * 最后在线时间
     */
    private Date lastOnlineTime;

    /**
     * 状态
     */
    private String status;


}
