|  |  |  | 
|---|
|  |  |  | 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.io.Serializable; | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @JsonPropertyOrder({"id", "name", "startDt", "endDt", | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "stopped", "stoppedStr", "remarks", "createDt"}) | 
|---|
|  |  |  | @JsonPropertyOrder({"id", "weatherId", | 
|---|
|  |  |  | "name", "startDt", "endDt", | 
|---|
|  |  |  | "life1Start", "life1End", "life1Factor", | 
|---|
|  |  |  | "life2Start", "life2End", "life2Factor", | 
|---|
|  |  |  | "life3Start", "life3End", "life3Factor", | 
|---|
|  |  |  | "life4Start", "life4End", "life4Factor", | 
|---|
|  |  |  | "stopped", "remarks", "createDt", | 
|---|
|  |  |  | "lifeLen", "lifeCur", "lifeFactor", "stoppedStr" | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | public class VoCrops implements Serializable { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static final long serialVersionUID = 202508061124001L; | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|---|
|  |  |  | public Long id; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 指向气象站外键 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|---|
|  |  |  | public Long weatherId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 作物名称 | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Double life4Factor ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 纬度 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Double lat; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 是否停止计算,1是,0否 | 
|---|
|  |  |  | 
|---|
|  |  |  | * 已经生成时长(天) | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Integer lifeLen; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 当前生长阶段 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public String lifeCur ; | 
|---|
|  |  |  | 
|---|
|  |  |  | * 是否停止计算,1是,0否 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public String stoppedStr; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 已经生成时长(天) | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public String lifeLenStr; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 对应作物生长阶段的系数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public String lifeFactorStr ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //关联气象站名称 | 
|---|
|  |  |  | public String weatherName ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|