package com.dcs.hnyz.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.dcs.common.annotation.Excel;
import com.dcs.common.core.domain.BaseEntity;

/**
 * 设备管理对象 equipment
 * 
 * @author hmy
 * @date 2025-04-22
 */
@Data
@TableName("equipment")
public class Equipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    @TableId(value = "equipment_id") // 如果你主键字段不是 id，必须加！
    private Long equipmentId;

    /** 设备名 */
    @Excel(name = "设备名")
    private String equipmentName;

    /** 流程id(用‘,’分隔) */
    @Excel(name = "流程id(用‘,’分隔)")
    private String flowIds;

    /** 标识码 */
    @Excel(name = "标识码")
    private String code;

    /** 设备种类 */
    @Excel(name = "设备种类")
    private String equipmentType;

    /** 对应plc的id */
    @Excel(name = "对应plc的id")
    private Long plcId;

    /** 通讯协议id */
    @Excel(name = "通讯协议id")
    private Long protocolId;

    /** 状态 0-启用,1-禁用*/
    @Excel(name = "状态")
    private String status;

    /** 删除标志 0-存在 2-删除 */
    @TableLogic
    private String delFlag;

}
