123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- package com.huimv.apiservice.entity;
- import com.baomidou.mybatisplus.annotation.*;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import java.io.Serializable;
- import java.util.Date;
- /**
- * 年猪基本
- *
- * @author yinhao
- * @email yinhao@163.com
- * @date 2021-05-07 15:32:42
- */
- @Data
- @TableName("mgt_year_pig_base")
- public class YearPigBaseEntity implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * id
- */
- @TableId
- private Integer id;
- /**
- * 耳标号
- */
- private String eartag;
- /**
- * 日龄
- */
- private Integer dayAge;
- /**
- * 牧场
- */
- private Integer farmId;
- /**
- * 单元
- */
- private Integer unitId;
- /**
- * 体重
- */
- private Double weight;
- /**
- * 是否认养
- */
- private Boolean fosterStatus;
- /**
- * 是否健康
- */
- private Boolean healthStatus;
- /**
- * 去向信息
- */
- private String whereDidYouGo;
- /**
- * 品种
- */
- private String breed;
- /**
- * 性別
- */
- private String sex;
- /**
- * 出生日期
- */
- @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
- private Date birthday;
- /**
- * 产地
- */
- private String originPlace;
- /**
- * 豬舍id
- */
- private Integer pigstyId;
- /**
- * 栏期id
- */
- private Integer periodId;
- /**
- * 入栏时间
- */
- private Date inFenceTime;
- /**
- * 出栏时间
- */
- private Date outFenceTime;
- /**
- * 出栏状态
- */
- private Integer outFenceStatus;
- /**
- * 母亲耳标
- */
- private String motherEartag;
- /**
- * 父亲耳标
- */
- private String fatherEartag;
- /**
- * 删除状态 0正常 1已删除
- */
- @TableLogic
- private Integer deleted;
- /**
- * 创建时间
- */
- @TableField(fill = FieldFill.INSERT)
- private Date gmtCreate;
- /**
- * 修改时间
- */
- @TableField(fill = FieldFill.INSERT_UPDATE)
- private Date gmtModified;
- }
|