| | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import org.springblade.core.tenant.mp.TenantEntity; |
| | | 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 |
| | |
| | | /** |
| | | * 品种id |
| | | */ |
| | | private Integer strainId; |
| | | private String strainId; |
| | | |
| | | /** |
| | | * 土地id |
| | |
| | | /** |
| | | * 采收时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date time; |
| | | |
| | | /** |
| | |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 溯源码编号 |
| | | * 农场id |
| | | */ |
| | | private String code; |
| | | private String deptId; |
| | | |
| | | |
| | | /** |
| | | * 租户id |
| | | */ |
| | | private String tenantId; |
| | | |
| | | } |