package com.shkj.wms.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * PLC连接属性对象 wcs_plc_property
 *
 * @author zjx
 * @date 2023-04-21
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("wcs_plc_property")
public class WcsPlcProperty  implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** plc连接ID */
    @Excel(name = "plc连接ID")
    private Long plcId;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private Long devCode;

    /** 属性名称 */
    @Excel(name = "属性名称")
    private String devpName;

    /** 数据类型 */
    @Excel(name = "数据类型")
    private String valueType;

    /** 数据类型长度*/
    @Excel(name = "数据类型长度")
    private int valueLength;


    /** PlC地址 */
    @Excel(name = "PlC地址")
    private String address;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String fieldName;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 属性类型*/
    @Excel(name = "属性类型")
    private String pointType;

    /** 关联点位*/
    @Excel(name = "关联点位")
    private String relPoint;

    /** 关联设备*/
    @Excel(name = "关联设备")
    private String relDev;

    /** 所属巷道*/
    @Excel(name = "所属巷道")
    private String tunnel;
}
