| package com.dy.pipIrrGlobal.voMd; | 
|   | 
| 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 lombok.Data; | 
|   | 
| import java.io.Serializable; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @Author: liurunyu | 
|  * @Date: 2025/8/6 11:24 | 
|  * @Description | 
|  */ | 
|   | 
| @Data | 
| @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 String name; | 
|   | 
|     /** | 
|      * 计算开始日期(一年生作物是种植时间或出芽时间),如果为空值则为长久计算,格式mm-dd | 
|      */ | 
|     @JsonFormat(pattern = "MM-dd") | 
|     public String startDt; | 
|   | 
|     /** | 
|      * 计算截止日期(一年生作物是停止灌溉时间),如果为空值则为长久计算,格式mm-dd | 
|      */ | 
|     @JsonFormat(pattern = "MM-dd") | 
|     public String endDt; | 
|   | 
|     /** | 
|      * 生长初期开始天数(默认是1) | 
|      */ | 
|     public Integer life1Start; | 
|   | 
|     /** | 
|      * 生长初期结束天数 | 
|      */ | 
|     public Integer life1End; | 
|   | 
|     /** | 
|      * 生长初期作物系数 | 
|      */ | 
|     public Double life1Factor ; | 
|   | 
|     /** | 
|      * 快速生长期开始天数(默认生长初期结束天数+1) | 
|      */ | 
|     public Integer life2Start; | 
|   | 
|     /** | 
|      * 快速生长期结束天数 | 
|      */ | 
|     public Integer life2End; | 
|   | 
|     /** | 
|      * 快速生长期作物系数 | 
|      */ | 
|     public Double life2Factor ; | 
|   | 
|     /** | 
|      * 生长中期开始天数(默认快速生长期结束天数+1) | 
|      */ | 
|     public Integer life3Start; | 
|   | 
|     /** | 
|      * 生长中期结束天数 | 
|      */ | 
|     public Integer life3End; | 
|   | 
|     /** | 
|      * 生长中期作物系数 | 
|      */ | 
|     public Double life3Factor ; | 
|   | 
|     /** | 
|      * 生长末期开始天数(默认生长中期结束天数+1) | 
|      */ | 
|     public Integer life4Start; | 
|   | 
|     /** | 
|      * 生长末期结束天数 | 
|      */ | 
|     public Integer life4End; | 
|   | 
|     /** | 
|      * 生长末期作物系数 | 
|      */ | 
|     public Double life4Factor ; | 
|   | 
|   | 
|     /** | 
|      * 是否停止计算,1是,0否 | 
|      */ | 
|     public Byte stopped; | 
|   | 
|     /** | 
|      * 备注 | 
|      */ | 
|     public String remarks; | 
|   | 
|     /** | 
|      * 数据记录创建日期,格式yyyy-mm-dd hh:mm:ss | 
|      */ | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     public Date createDt; | 
|   | 
|     /** | 
|      * 已经生成时长(天) | 
|      */ | 
|     public Integer lifeLen; | 
|      /** | 
|      * 当前生长阶段 | 
|      */ | 
|     public String lifeCur ; | 
|     /** | 
|      * 对应作物生长阶段的系数 | 
|      */ | 
|     public Double lifeFactor ; | 
|     /** | 
|      * 是否停止计算,1是,0否 | 
|      */ | 
|     public String stoppedStr; | 
|     /** | 
|      * 已经生成时长(天) | 
|      */ | 
|     public String lifeLenStr; | 
|   | 
|     /** | 
|      * 对应作物生长阶段的系数 | 
|      */ | 
|     public String lifeFactorStr ; | 
|   | 
|     //关联气象站名称 | 
|     public String weatherName ; | 
|   | 
| } |