YearPigBaseEntity.java 2.0 KB

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