package com.dy.pipIrrGlobal.VoAllRound;
|
|
import com.alibaba.fastjson2.annotation.JSONField;
|
import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
|
import com.dy.pipIrrGlobal.voRm.VoLossDay;
|
import com.dy.pipIrrGlobal.voRm.VoOpenCloseValve;
|
import com.dy.pipIrrGlobal.voSt.VoDayIntakeAmount;
|
import com.dy.pipIrrGlobal.voSt.VoDayLoss;
|
import com.dy.pipIrrGlobal.voSt.VoMonthAmount;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
import lombok.Data;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @Author: liurunyu
|
* @Date: 2025/1/14 17:03
|
* @Description
|
*/
|
@Data
|
@JsonPropertyOrder({"id", "onLine", "alarm", "alarmDt", "lastOpenDt", "lastCloseDt", "lossAmount", "lossDt"})
|
public class VoArIntakeRemote {
|
private static final long serialVersionUID = 202501141703001L;
|
|
@JSONField(serializeUsing= ObjectWriterImplToString.class)
|
public Long id;
|
|
/**
|
* 在线情况, true在线,false离线,null未知
|
*/
|
public Boolean onLine ;
|
|
/**
|
* 最新报警信息
|
*/
|
public String alarm ;
|
|
/**
|
* 最新报警时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
public Date alarmDt ;
|
|
/**
|
* 最后开阀时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
public Date lastOpenDt ;
|
|
/**
|
* 最后关闭时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
public Date lastCloseDt ;
|
|
/**
|
* 最后统计漏损量
|
*/
|
public Double lossAmount ;
|
|
/**
|
* 最后统计漏损日期
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
public Date lossDt ;
|
|
/**
|
* 开关阀记录
|
*/
|
public List<VoOpenCloseValve> openCloseRecords ;
|
|
/**
|
* 日漏损记录
|
*/
|
public List<VoDayLoss> lossDayRecords ;
|
|
/**
|
* 月漏损记录
|
*/
|
public List<VoMonthAmount> lossMonthRecords ;
|
|
/**
|
* 日用水统计记录
|
*/
|
public List<VoDayIntakeAmount> amountDayRecords ;
|
|
/**
|
* 月用水统计记录
|
*/
|
public List<VoMonthAmount> amountMonthRecords ;
|
|
}
|