| | |
| | | */ |
| | | |
| | | @Data |
| | | @JsonPropertyOrder({"id", "name", "startDt", "endDt", "isStopped", "remarks", "createDt"}) |
| | | @JsonPropertyOrder({"id", "name", "startDt", "endDt", "stopped", "isStopped", "remarks", "createDt"}) |
| | | public class VoCrops implements Serializable { |
| | | |
| | | public static final long serialVersionUID = 202508061124001L; |
| | |
| | | public String name; |
| | | |
| | | /** |
| | | * 计算开始日期(一年生作物是种植时间或出芽时间),如果为空值则为长久计算,格式yyyy-mm-dd |
| | | * 计算开始日期(一年生作物是种植时间或出芽时间),如果为空值则为长久计算,格式mm-dd |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | public Date startDt; |
| | | @JsonFormat(pattern = "MM-dd") |
| | | public String startDt; |
| | | |
| | | /** |
| | | * 计算截止日期(一年生作物是停止灌溉时间),如果为空值则为长久计算,格式yyyy-mm-dd |
| | | * 计算截止日期(一年生作物是停止灌溉时间),如果为空值则为长久计算,格式mm-dd |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | public Date endDt; |
| | | @JsonFormat(pattern = "MM-dd") |
| | | public String endDt; |
| | | |
| | | /** |
| | | * 是否停止计算,1是,0否 |
| | | */ |
| | | @JSONField(serialize = false) |
| | | public Byte stopped; |
| | | |
| | | /** |