package com.iailab.module.data.channel.modbus.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serializable; /** * ModBus设备表 * * @author PanZhibao * @Description * @createTime 2023年04月24日 10:31:00 */ @Data @TableName("t_channel_modbus_device") public class ChannelModBusDeviceEntity implements Serializable { private static final long serialVersionUID = 1L; /** * 主键 */ @Schema(description = "主键") @TableId(value = "id",type = IdType.INPUT) private String id; /** * 设备名称 */ private String name; /** * IP地址 */ private String address; /** * 端口 */ private Integer port; /** * 不活动超时(ms) */ private Integer connectInactivityTimeout; /** * 重连超时(ms) */ private Integer reconnectInterval; /** * 重试次数 */ private Integer attemptsBeforeTimeout; /** * 重试间隔(ms) */ private Integer waitToRetryMilliseconds; /** * 读超时(ms) */ private Integer readTimeout; /** * 写超时(ms) */ private Integer writeTimeout; /** * 是否使用优化 */ private Boolean useOptimizedBlockRead; /** * 系统内部用,默认空字符串 */ private String projectReference; }