| package com.dy.pipIrrGlobal.voRm; | 
|   | 
| import com.alibaba.fastjson2.annotation.JSONField; | 
| import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import com.fasterxml.jackson.annotation.JsonPropertyOrder; | 
| import io.swagger.v3.oas.annotations.media.Schema; | 
| import lombok.Data; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @Author: liurunyu | 
|  * @Date: 2025/6/25 16:34 | 
|  * @Description | 
|  */ | 
| @Data | 
| @JsonPropertyOrder({ | 
|         "id", "manureId", "manureName", "dt", "alarm", | 
|         "stirRunning1", "stirRunning2", "stirRunning3", "stirRunning4", | 
|         "injectRunning", "irrRunning", | 
|         "manureFlow", "manureTime", "stirTime", | 
|         "stirDuration", "injectDuration" | 
| }) | 
| public class VoManure  { | 
|     public static final long serialVersionUID = 202506251634001L; | 
|   | 
|     /** | 
|      * 记录ID | 
|      */ | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     public Long id; | 
|   | 
|     /** | 
|      * 水肥机ID | 
|      */ | 
|     @Schema(description = "水肥机ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|     public Long manureId; | 
|   | 
|     /** | 
|      * 水肥机名称 | 
|      */ | 
|     @Schema(description = "水肥机名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public String manureName; | 
|   | 
|   | 
|     /** | 
|      * 数据上报时间(年月日时分秒) | 
|      */ | 
|     @Schema(description = "数据接收日期时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     public Date dt; | 
|   | 
|     /** | 
|      * 搅拌1运行状态(1运行,0停止) | 
|      */ | 
|     @Schema(description = "搅拌1运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Byte stirRunning1; | 
|   | 
|     /** | 
|      * 搅拌2运行状态(1运行,0停止) | 
|      */ | 
|     @Schema(description = "搅拌2运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Byte stirRunning2; | 
|   | 
|     /** | 
|      * 搅拌3运行状态(1运行,0停止) | 
|      */ | 
|     @Schema(description = "搅拌3运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Byte stirRunning3; | 
|   | 
|     /** | 
|      * 搅拌4运行状态(1运行,0停止) | 
|      */ | 
|     @Schema(description = "搅拌4运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Byte stirRunning4; | 
|   | 
|     /** | 
|      * 注肥运行状态(1运行,0停止) | 
|      */ | 
|     @Schema(description = "注肥运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Byte injectRunning; | 
|   | 
|     /** | 
|      * 灌溉运行状态(1运行,0停止) | 
|      */ | 
|     @Schema(description = "灌溉运行状态(1运行,0停止)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Byte irrRunning; | 
|   | 
|     /** | 
|      * 报警(1:注肥泵有故障,0:注肥泵没有故障) | 
|      */ | 
|     @Schema(description = "报警(1:注肥泵有故障,0:注肥泵没有故障)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Byte alarm; | 
|   | 
|     /** | 
|      * 肥料流量(升) | 
|      */ | 
|     @Schema(description = "肥料流量(升)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     public Double manureFlow; | 
|   | 
|     /** | 
|      * 注肥经过时间(秒) | 
|      */ | 
|     @Schema(description = "注肥经过时间(秒)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Integer manureTime; | 
|   | 
|     /** | 
|      * 搅拌经过时间(秒) | 
|      */ | 
|     @Schema(description = "搅拌经过时间(秒)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Integer stirTime; | 
|   | 
|     /** | 
|      * 搅拌设定时间(秒) | 
|      */ | 
|     @Schema(description = "搅拌设定时间(秒)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Integer stirDuration; | 
|   | 
|     /** | 
|      * 注肥设定时间(秒) | 
|      */ | 
|     @Schema(description = "注肥设定时间(秒)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Integer injectDuration; | 
|   | 
| } |