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/26 9:03 
 | 
 * @Description 
 | 
 */ 
 | 
@Data 
 | 
@JsonPropertyOrder({ 
 | 
        "id", "soilId", "soilName", "dt", 
 | 
        "soilHumidity1", "soilHumidity2", "soilHumidity3", "soilHumidity4", "soilHumidity5", 
 | 
        "soilTemperature1", "soilTemperature2", "soilTemperature3", "soilTemperature4", "soilTemperature5" 
 | 
}) 
 | 
public class VoSoil { 
 | 
    public static final long serialVersionUID = 202506260903001L; 
 | 
  
 | 
    /** 
 | 
     * 记录ID 
 | 
     */ 
 | 
    @JSONField(serializeUsing= ObjectWriterImplToString.class) 
 | 
    public Long id; 
 | 
  
 | 
    /** 
 | 
     * 墒情站ID 
 | 
     */ 
 | 
    @Schema(description = "墒情站ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JSONField(serializeUsing= ObjectWriterImplToString.class) 
 | 
    public Long soilId; 
 | 
  
 | 
    /** 
 | 
     * 墒情站名称 
 | 
     */ 
 | 
    @Schema(description = "墒情站名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    public String soilName; 
 | 
  
 | 
  
 | 
    /** 
 | 
     * 数据上报时间(年月日时分秒) 
 | 
     */ 
 | 
    @Schema(description = "数据接收日期时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") 
 | 
    public Date dt; 
 | 
  
 | 
  
 | 
    /** 
 | 
     * 土壤湿度1 
 | 
     */ 
 | 
    @Schema(description = "土壤湿度1", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilHumidity1; 
 | 
  
 | 
    /** 
 | 
     * 土壤湿度2 
 | 
     */ 
 | 
    @Schema(description = "土壤湿度2", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilHumidity2; 
 | 
  
 | 
    /** 
 | 
     * 土壤湿度3 
 | 
     */ 
 | 
    @Schema(description = "土壤湿度3", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilHumidity3; 
 | 
  
 | 
    /** 
 | 
     * 土壤湿度4 
 | 
     */ 
 | 
    @Schema(description = "土壤湿度4", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilHumidity4; 
 | 
  
 | 
    /** 
 | 
     * 土壤湿度5 
 | 
     */ 
 | 
    @Schema(description = "土壤湿度5", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilHumidity5; 
 | 
  
 | 
    /** 
 | 
     * 土壤温度1 
 | 
     */ 
 | 
    @Schema(description = "土壤温度1", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilTemperature1; 
 | 
  
 | 
    /** 
 | 
     * 土壤温度2 
 | 
     */ 
 | 
    @Schema(description = "土壤温度2", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilTemperature2; 
 | 
  
 | 
    /** 
 | 
     * 土壤温度3 
 | 
     */ 
 | 
    @Schema(description = "土壤温度3", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilTemperature3; 
 | 
  
 | 
    /** 
 | 
     * 土壤温度4 
 | 
     */ 
 | 
    @Schema(description = "土壤温度4", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilTemperature4; 
 | 
  
 | 
    /** 
 | 
     * 土壤温度5 
 | 
     */ 
 | 
    @Schema(description = "土壤温度5", requiredMode = Schema.RequiredMode.NOT_REQUIRED) 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    public Double soilTemperature5; 
 | 
} 
 |