package com.ruoyi.fuzhou.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 io.swagger.v3.oas.annotations.media.Schema; import java.math.BigInteger; /** *
* 气象数据接收管理 *
* * @author sunjiawei * @since 2025-05-20 */ @TableName("RECEIVE_WEATHER_INFO") @Schema(description = "气象数据接收管理") public class ReceiveWeatherInfo { @Schema(title ="主键") @TableId(value = "ID", type = IdType.ASSIGN_ID) private BigInteger id; @Schema(title ="设备名称") @TableField("DEVICE_NAME") private String deviceName; @Schema(title ="地址码") @TableField("DEVICE_ADDRESS") private byte deviceAddress; @Schema(title ="网关ip") @TableField("IP") private String ip; @Schema(title ="网关端口") @TableField("PORT") private Integer port; @Schema(title ="功能码") @TableField("FUNCTION_CODE") private byte functionCode; @Schema(title ="寄存器地址") @TableField("REGISTER_ADRESS") private Integer registerAdress; @Schema(title ="寄存器数量") @TableField("REGISTER_COUNT") private Integer registerCount; @Schema(title ="校验码") @TableField("CRC") private Integer crc; @Schema(title ="返回数据类型") @TableField("DATA_TYPE") private Integer dataType; @Schema(title ="数据含义") @TableField("PARAM") private String param; @Schema(title ="含义编码") @TableField("PARAM_CODE") private String paramCode; @Schema(title ="单位") @TableField("UNIT") private String unit; public BigInteger getId() { return id; } public void setId(BigInteger id) { this.id = id; } public String getDeviceName() { return deviceName; } public void setDeviceName(String deviceName) { this.deviceName = deviceName; } public byte getDeviceAddress() { return deviceAddress; } public void setDeviceAddress(byte deviceAddress) { this.deviceAddress = deviceAddress; } public String getIp() { return ip; } public void setIp(String ip) { this.ip = ip; } public Integer getPort() { return port; } public void setPort(Integer port) { this.port = port; } public byte getFunctionCode() { return functionCode; } public void setFunctionCode(byte functionCode) { this.functionCode = functionCode; } public Integer getRegisterAdress() { return registerAdress; } public void setRegisterAdress(Integer registerAdress) { this.registerAdress = registerAdress; } public Integer getRegisterCount() { return registerCount; } public void setRegisterCount(Integer registerCount) { this.registerCount = registerCount; } public Integer getCrc() { return crc; } public void setCrc(Integer crc) { this.crc = crc; } public Integer getDataType() { return dataType; } public void setDataType(Integer dataType) { this.dataType = dataType; } public String getParam() { return param; } public void setParam(String param) { this.param = param; } public String getParamCode() { return paramCode; } public void setParamCode(String paramCode) { this.paramCode = paramCode; } public String getUnit() { return unit; } public void setUnit(String unit) { this.unit = unit; } }