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.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 农场养殖记录表实体类
|
* @since 2022-05-12
|
* @author zhongrj
|
*/
|
@Data
|
@TableName("sys_farm_plant")
|
public class FarmPlant implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id",type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 土地id
|
*/
|
private String landId;
|
|
/**
|
* 种类id
|
*/
|
private Integer strainId;
|
|
/**
|
* 品种
|
*/
|
private String varieties;
|
|
|
/**
|
* 种植标准(0:有机 1:绿色 2:无公害 3:普通)
|
*/
|
private String plant;
|
|
|
/**
|
* 种植方式(0:移栽 1:直播)
|
*/
|
private String plantingWay;
|
|
|
/**
|
* 作业方式(0:人工 1:机械)
|
*/
|
private String jobWay;
|
|
/**
|
* 移栽时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date transplanTime;
|
|
/**
|
* 预计采购时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date recoveryTime;
|
|
/**
|
* 预计亩产
|
*/
|
private Integer per;
|
|
/**
|
* 株数
|
*/
|
private Integer plantNumber;
|
|
/**
|
* 株间距
|
*/
|
private Integer plantSpacing;
|
|
|
/**
|
* 种植类型(0:种植业 1:水产业)
|
*/
|
private String farmType;
|
|
/**
|
* 投苗时间(养殖业独有字段)
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date seedingTime;
|
|
/**
|
* 养殖数量(养殖业独有字段)
|
*/
|
private Integer breed;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 操作人(创建人)
|
*/
|
private String createUser;
|
|
/**
|
* 种植状态 1:种植中 2:已采收
|
*/
|
private String status;
|
|
}
|