|
@@ -1,15 +1,15 @@
|
|
|
package com.huimv.management.entity;
|
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
-import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotation.*;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
+
|
|
|
import lombok.Data;
|
|
|
|
|
|
/**
|
|
|
* 年猪基本
|
|
|
- *
|
|
|
+ *
|
|
|
* @author yinhao
|
|
|
* @email yinhao@163.com
|
|
|
* @date 2021-05-07 15:32:42
|
|
@@ -17,52 +17,60 @@ import lombok.Data;
|
|
|
@Data
|
|
|
@TableName("mgt_year_pig_base")
|
|
|
public class YearPigBaseEntity implements Serializable {
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ */
|
|
|
+ @TableId
|
|
|
+ private Integer id;
|
|
|
+ /**
|
|
|
+ * 耳标号
|
|
|
+ */
|
|
|
+ private String eartag;
|
|
|
+ /**
|
|
|
+ * 日龄
|
|
|
+ */
|
|
|
+ private Integer dayAge;
|
|
|
+ /**
|
|
|
+ * 单元
|
|
|
+ */
|
|
|
+ private Integer unitId;
|
|
|
+ /**
|
|
|
+ * 体重
|
|
|
+ */
|
|
|
+ private Double weight;
|
|
|
+ /**
|
|
|
+ * 是否认养
|
|
|
+ */
|
|
|
+ private Boolean fosterStatus;
|
|
|
+ /**
|
|
|
+ * 是否健康
|
|
|
+ */
|
|
|
+ private Boolean healthStatus;
|
|
|
+ /**
|
|
|
+ * 去向信息
|
|
|
+ */
|
|
|
+ private String whereDidYouGo;
|
|
|
|
|
|
- /**
|
|
|
- *
|
|
|
- */
|
|
|
- @TableId
|
|
|
- private Integer id;
|
|
|
- /**
|
|
|
- * 耳标号
|
|
|
- */
|
|
|
- private String eartag;
|
|
|
- /**
|
|
|
- * 日龄
|
|
|
- */
|
|
|
- private Integer dayAge;
|
|
|
- /**
|
|
|
- * 单元
|
|
|
- */
|
|
|
- private Integer unitId;
|
|
|
- /**
|
|
|
- * 体重
|
|
|
- */
|
|
|
- private Double weight;
|
|
|
- /**
|
|
|
- * 是否认养
|
|
|
- */
|
|
|
- private Boolean fosterStatus;
|
|
|
- /**
|
|
|
- * 是否健康
|
|
|
- */
|
|
|
- private Boolean healthStatus;
|
|
|
- /**
|
|
|
- * 去向信息
|
|
|
- */
|
|
|
- private String whereDidYouGo;
|
|
|
- /**
|
|
|
- * 删除状态 0正常 1已删除
|
|
|
- */
|
|
|
- private Boolean deleted;
|
|
|
- /**
|
|
|
- * 创建时间
|
|
|
- */
|
|
|
- private Date gmtCreate;
|
|
|
- /**
|
|
|
- * 修改时间
|
|
|
- */
|
|
|
- private Date gmtModified;
|
|
|
+ /**
|
|
|
+ * 品种
|
|
|
+ */
|
|
|
+ private String variety;
|
|
|
+ /**
|
|
|
+ * 删除状态 0正常 1已删除
|
|
|
+ */
|
|
|
+ @TableLogic
|
|
|
+ private Boolean deleted;
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ @TableField(fill = FieldFill.INSERT)
|
|
|
+ private Date gmtCreate;
|
|
|
+ /**
|
|
|
+ * 修改时间
|
|
|
+ */
|
|
|
+ @TableField(fill = FieldFill.INSERT_UPDATE)
|
|
|
+ private Date gmtModified;
|
|
|
|
|
|
}
|