PlcEquipmentMethod.java 1.58 KB
package com.huaheng.pc.plc.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

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


/**
 * @author:zhouhong
 * 一台plc对应多个db块,一个db块对应多个偏移量
 * 202203
 */
@Data
@TableName(value = "plc_equipment_method")
public class PlcEquipmentMethod implements Serializable {
    /**
     * ID
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备id
     */
    @TableField(value = "equipmentId")
    private Integer equipmentId;

    /**
     * 设备db块名称
     */
    @TableField(value = "methodName")
    private String methodName;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "updateTime")
    private Date updateTime;

    /**
     * 创建者
     */
    @TableField(value = "createBy")
    private String createBy;

    /**
     * 修改人
     */
    @TableField(value = "updateBy")
    private String updateBy;

    /**
     * 连接code,不可重复,英文或数字
     *//*
    @TableField(value = "connectCode")
    private String connectCode;*/
    /**
     * 设备ip
     */
    @TableField(value = "equipmentIp")
    private String equipmentIp;

    @TableField(exist=false)
    private String equipmentName;



    private static final long serialVersionUID = 1L;
}