DuckHealthInfo.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package com.huimv.guowei.admin.entity;
  2. import com.baomidou.mybatisplus.annotation.TableName;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import java.util.Date;
  6. import java.io.Serializable;
  7. import com.fasterxml.jackson.annotation.JsonFormat;
  8. import lombok.Data;
  9. import lombok.EqualsAndHashCode;
  10. import lombok.experimental.Accessors;
  11. /**
  12. * <p>
  13. *
  14. * </p>
  15. *
  16. * @author author
  17. * @since 2023-06-01
  18. */
  19. @Data
  20. @EqualsAndHashCode(callSuper = false)
  21. @Accessors(chain = true)
  22. @TableName("duck_health_info")
  23. public class DuckHealthInfo implements Serializable {
  24. private static final long serialVersionUID = 1L;
  25. @TableId(value = "id", type = IdType.AUTO)
  26. private Integer id;
  27. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  28. private Date healthDate;
  29. /**
  30. * 体检结果
  31. */
  32. private String healthResult;
  33. /**
  34. * 治疗措施
  35. */
  36. private String treatmentMeasure;
  37. /**
  38. * 鸭只编号
  39. */
  40. private String duckNum;
  41. /**
  42. * 疾病名称
  43. */
  44. private String diseaseName;
  45. private Integer farmId;
  46. private Integer duckId;
  47. private Integer unitId;
  48. private String symptom;//症状
  49. private String cure;//治疗方法
  50. private String medicine;//药品名称
  51. private String measure;//药品用量
  52. }