DispatchInfoDO.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package com.hgwebservice.dal.dataobject.data;
  2. import com.baomidou.mybatisplus.annotation.KeySequence;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import lombok.*;
  6. import java.util.Date;
  7. /**
  8. * 待执行医嘱 DO
  9. *
  10. * @author super_admin
  11. */
  12. @TableName("dispatch_info")
  13. @KeySequence("dispatch_info_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
  14. @Data
  15. @ToString(callSuper = true)
  16. @Builder
  17. @NoArgsConstructor
  18. @AllArgsConstructor
  19. public class DispatchInfoDO {
  20. /**
  21. * 主键自增
  22. */
  23. @TableId
  24. private Integer id;
  25. /**
  26. * 医嘱编号
  27. */
  28. private String code;
  29. /**
  30. * 医嘱类型
  31. */
  32. private Integer type;
  33. /**
  34. * 医嘱详细内容
  35. */
  36. private String message;
  37. /**
  38. * 频率
  39. */
  40. private String frequency;
  41. /**
  42. * 所属科室
  43. */
  44. private String departCode;
  45. /**
  46. * 病人唯一码
  47. */
  48. private String patientCode;
  49. /**
  50. * 住院号
  51. */
  52. private String admCode;
  53. /**
  54. * 血糖或胰岛素医嘱(1, 血糖医嘱; 2, 胰岛素 医嘱)
  55. */
  56. private String dispatchType;
  57. private Date createTime;
  58. private Date updateTime;
  59. /**
  60. * 医院code
  61. */
  62. private String hospitalCode;
  63. /**
  64. * 医院id
  65. */
  66. private Integer hospitalId;
  67. }