| | |
| | | package org.springblade.modules.farmplant.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | |
| | | * 主键id |
| | | */ |
| | | @TableId(value = "id",type = IdType.AUTO) |
| | | private Integer id; |
| | | private Long id; |
| | | |
| | | /** |
| | | * 土地id |
| | |
| | | /** |
| | | * 预计亩产 |
| | | */ |
| | | @TableField(value = "per",updateStrategy = FieldStrategy.IGNORED) |
| | | private Integer per; |
| | | |
| | | /** |
| | | * 株数 |
| | | */ |
| | | @TableField(value = "plant_number",updateStrategy = FieldStrategy.IGNORED) |
| | | private Integer plantNumber; |
| | | |
| | | /** |
| | | * 株间距 |
| | | */ |
| | | @TableField(value = "plant_spacing",updateStrategy = FieldStrategy.IGNORED) |
| | | private Integer plantSpacing; |
| | | |
| | | |
| | |
| | | */ |
| | | private String createUser; |
| | | |
| | | /** |
| | | * 种植状态 1:种植中 2:已采收 |
| | | */ |
| | | private String status; |
| | | |
| | | |
| | | /** |
| | | * 部门id |
| | | */ |
| | | private String deptId; |
| | | |
| | | /** |
| | | * 租户id |
| | | */ |
| | | private String tenantId; |
| | | /** |
| | | * 结束种养时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date endPlantTime; |
| | | /** |
| | | * 移栽时,移栽来源的地块id |
| | | */ |
| | | private String otherLandId; |
| | | } |