package com.dy.pipIrrGlobal.voUg;
|
|
import com.alibaba.fastjson2.annotation.JSONField;
|
import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
/**
|
* @Author: liurunyu
|
* @Date: 2024/11/13 16:53
|
* @Description
|
*/
|
|
@Data
|
@JsonPropertyOrder({ "id", "rtuAddr", "intakeName", "isOver", "isOverStr", "ugState", "ugStateStr", "overDt"})
|
public class VoUgResult {
|
/**
|
* 主键
|
*/
|
@Schema(description = "主键" )
|
@JSONField(serializeUsing= ObjectWriterImplToString.class)
|
public Long id;
|
|
/**
|
* 控制器地址
|
*/
|
@Schema(description = "控制器地址" )
|
public String rtuAddr;
|
|
/**
|
* 取水编号
|
*/
|
@Schema(description = "取水口编号")
|
private String intakeNum;
|
|
/**
|
* 升级是否结束
|
*/
|
@Schema(description = "升级是否结束" )
|
public Byte isOver;
|
|
/**
|
* 升级是否结束
|
*/
|
@Schema(description = "升级是否结束" )
|
@TableField(exist = false)
|
public String isOverStr;
|
|
/**
|
* 升级状态
|
*/
|
@Schema(description = "升级状态" )
|
public Integer ugState;
|
|
/**
|
* 升级状态
|
*/
|
@Schema(description = "升级状态" )
|
public String ugStateStr;
|
|
/**
|
* 升级结束时间
|
*/
|
@Schema(description = "升级结束时间" )
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS")
|
public Integer overDt;
|
|
/**
|
* 无参数据构造方法
|
*/
|
public VoUgResult(){
|
this.isOver = 0;
|
}
|
|
}
|