Settlement.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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.math.BigDecimal;
  7. import java.util.Date;
  8. import com.fasterxml.jackson.annotation.JsonFormat;
  9. import java.io.Serial;
  10. /**
  11. * 结算管理对象 settlement
  12. *
  13. * @author Lion Li
  14. * @date 2025-07-22
  15. */
  16. @Data
  17. @EqualsAndHashCode(callSuper = true)
  18. @TableName("settlement")
  19. public class Settlement extends TenantEntity {
  20. @Serial
  21. private static final long serialVersionUID = 1L;
  22. /**
  23. * 主键ID
  24. */
  25. @TableId(value = "id")
  26. private Long id;
  27. /**
  28. * 开单时间
  29. */
  30. private Date orderTime;
  31. /**
  32. * 看诊类型
  33. */
  34. private String visitType;
  35. /**
  36. * 收费类型
  37. */
  38. private String chargeType;
  39. /**
  40. * 患者ID
  41. */
  42. private Long patientId;
  43. /**
  44. * 患者姓名
  45. */
  46. private String patientName;
  47. /**
  48. * 患者科室
  49. */
  50. private Long doorId;
  51. /**
  52. * 门诊/住院号
  53. */
  54. private String patientNo;
  55. /**
  56. * 联系电话
  57. */
  58. private String phone;
  59. /**
  60. * 身份证号
  61. */
  62. private String idCard;
  63. /**
  64. * 应收金额
  65. */
  66. private BigDecimal receivableAmount;
  67. /**
  68. * 支付状态(未支付/已支付/已退款)
  69. */
  70. private String paymentStatus;
  71. /**
  72. * 支付方式
  73. */
  74. private String paymentMethod;
  75. /**
  76. * 状态(0正常 1停用 2草稿)
  77. */
  78. private String status;
  79. private Date stopDate;
  80. /**
  81. * 删除标志(0代表存在 1代表删除)
  82. */
  83. // @TableLogic
  84. private String delFlag;
  85. }