YearPigBaseEntity.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. package com.huimv.management.entity;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import java.io.Serializable;
  4. import java.util.Date;
  5. import lombok.Data;
  6. /**
  7. * 年猪基本
  8. *
  9. * @author yinhao
  10. * @email yinhao@163.com
  11. * @date 2021-05-07 15:32:42
  12. */
  13. @Data
  14. @TableName("mgt_year_pig_base")
  15. public class YearPigBaseEntity implements Serializable {
  16. private static final long serialVersionUID = 1L;
  17. /**
  18. *
  19. */
  20. @TableId
  21. private Integer id;
  22. /**
  23. * 耳标号
  24. */
  25. private String eartag;
  26. /**
  27. * 日龄
  28. */
  29. private Integer dayAge;
  30. /**
  31. * 单元
  32. */
  33. private Integer unitId;
  34. /**
  35. * 体重
  36. */
  37. private Double weight;
  38. /**
  39. * 是否认养
  40. */
  41. private Boolean fosterStatus;
  42. /**
  43. * 是否健康
  44. */
  45. private Boolean healthStatus;
  46. /**
  47. * 去向信息
  48. */
  49. private String whereDidYouGo;
  50. /**
  51. * 品种
  52. */
  53. private String breed;
  54. /**
  55. * 性別
  56. */
  57. private String sex;
  58. /**
  59. * 出生日期
  60. */
  61. private Date birthday;
  62. /**
  63. * 豬舍id
  64. */
  65. private Integer pigstyId;
  66. /**
  67. * 栏期id
  68. */
  69. private Integer periodId;
  70. /**
  71. * 删除状态 0正常 1已删除
  72. */
  73. @TableLogic
  74. private Boolean deleted;
  75. /**
  76. * 创建时间
  77. */
  78. @TableField(fill = FieldFill.INSERT)
  79. private Date gmtCreate;
  80. /**
  81. * 修改时间
  82. */
  83. @TableField(fill = FieldFill.INSERT_UPDATE)
  84. private Date gmtModified;
  85. }