PlcEquipmentOffset.java 1.61 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
 * 2022021
 */
@Data
@TableName(value = "plc_equipment_offset")
public class PlcEquipmentOffset implements Serializable {
    /**
     * ID
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

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

    /**
     * 设备ip
     */
    @TableField(value = "equipmentIp")
    private String equipmentIp;

    /**
     * db块id
     */
    @TableField(value = "methodId")
    private Integer methodId;

    /**
     * 数据类型
     */
    @TableField(value = "dataType")
    private String dataType;


    /**
     * 偏移量
     */
    @TableField(value = "offset")
    private String offset;

    /**
     * 设备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;



    private static final long serialVersionUID = 1L;
}