PatientAccount.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. package org.dromara.web.domain;
  2. import org.dromara.common.tenant.core.TenantEntity;
  3. import com.baomidou.mybatisplus.annotation.*;
  4. import lombok.Data;
  5. import lombok.EqualsAndHashCode;
  6. import java.io.Serial;
  7. /**
  8. * 患者账户信息对象 patient_account
  9. *
  10. * @author Lion Li
  11. * @date 2025-08-07
  12. */
  13. @Data
  14. @EqualsAndHashCode(callSuper = true)
  15. @TableName("patient_account")
  16. public class PatientAccount extends TenantEntity {
  17. @Serial
  18. private static final long serialVersionUID = 1L;
  19. /**
  20. * 主键ID
  21. */
  22. @TableId(value = "id", type = IdType.AUTO)
  23. private Long id;
  24. /**
  25. * 患者ID
  26. */
  27. private Long patientId;
  28. /**
  29. * 患者姓名
  30. */
  31. private String patientName;
  32. /**
  33. * 患者病例ID
  34. */
  35. private Long patientCaseId;
  36. /**
  37. * 身份证号
  38. */
  39. private String idCard;
  40. /**
  41. * 性别:1-男,2-女
  42. */
  43. private Long sex;
  44. /**
  45. * 联系电话
  46. */
  47. private String phone;
  48. /**
  49. * 账户
  50. */
  51. private String serialNo;
  52. /**
  53. * 账户余额
  54. */
  55. private Long totalAmount;
  56. /**
  57. * 账户充值
  58. */
  59. private Long totalIncome;
  60. /**
  61. * 账户消费
  62. */
  63. private Long totalExpand;
  64. /**
  65. * 待缴金额
  66. */
  67. private Long unpaidAmount;
  68. /**
  69. * 可用金额
  70. */
  71. private Long availableAmount;
  72. /**
  73. * 授信金额
  74. */
  75. private Long creditAmount;
  76. /**
  77. * 可用授信额度
  78. */
  79. private Long creditLimit;
  80. /**
  81. * 状态:0-正常,1-禁用
  82. */
  83. private Long status;
  84. /**
  85. * 激活状态:0-未激活,1-已激活
  86. */
  87. private Long activated;
  88. /**
  89. * 备注
  90. */
  91. private String remark;
  92. /**
  93. * 删除标志
  94. */
  95. @TableLogic
  96. private Long delFlag;
  97. /**
  98. * 待处理事项
  99. */
  100. private String waitingTask;
  101. /**
  102. * 患者科室
  103. */
  104. private Long doorId;
  105. /**
  106. * 门诊/住院号
  107. */
  108. private String patientNo;
  109. /**
  110. * 病区
  111. */
  112. private Long wardId;
  113. /**
  114. * 病区名称
  115. */
  116. private String wardName;
  117. private String deptName;
  118. /**
  119. * 诊疗卡号
  120. */
  121. private String treatNum;
  122. private String visitType;
  123. }