Allocation.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. package com.imed.costaccount.model;
  2. import com.baomidou.mybatisplus.annotation.TableId;
  3. import com.baomidou.mybatisplus.annotation.TableLogic;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import java.io.Serializable;
  6. import java.math.BigDecimal;
  7. import java.util.Date;
  8. import lombok.AllArgsConstructor;
  9. import lombok.Data;
  10. import lombok.NoArgsConstructor;
  11. import lombok.experimental.Accessors;
  12. /**
  13. * 成本分摊后表
  14. *
  15. * @author huangrui
  16. * @email
  17. * @date 2021-08-24 16:05:16
  18. */
  19. @Data
  20. @Accessors(chain = true)
  21. @AllArgsConstructor
  22. @NoArgsConstructor
  23. @TableName("cost_allocation")
  24. public class Allocation implements Serializable {
  25. private static final long serialVersionUID = 1L;
  26. /**
  27. *
  28. */
  29. @TableId
  30. private Long id;
  31. /**
  32. * 年
  33. */
  34. private Integer dateYear;
  35. /**
  36. * 月
  37. */
  38. private Integer dateMonth;
  39. /**
  40. * 分摊层级序号
  41. */
  42. private Integer levelSort;
  43. /**
  44. * 分摊层级数名称
  45. */
  46. private String levelName;
  47. /**
  48. * 医院id
  49. */
  50. private Long hospId;
  51. /**
  52. * 责任中心代码
  53. */
  54. private String responsibilityCode;
  55. /**
  56. * 责任中心名称
  57. */
  58. private String responsibilityName;
  59. private Long accountShareId;
  60. /**
  61. * 分摊得到的钱
  62. */
  63. private BigDecimal amount;
  64. /**
  65. * 是否固定成本 0.不是,1.是
  66. */
  67. private Integer isBaseCost;
  68. /**
  69. *
  70. */
  71. private Long createTime;
  72. /**
  73. * 目标责任中心
  74. */
  75. private String targetResponsibilityCode;
  76. /**
  77. * 目标责任中心名称
  78. */
  79. private String targetResponsibilityName;
  80. /**
  81. * 分摊参数代码
  82. */
  83. private String shareParamCode;
  84. /**
  85. * 分摊参数名称
  86. */
  87. private String shareParamName;
  88. /**
  89. * 分摊参数数值
  90. */
  91. private BigDecimal shareParamValueNum;
  92. /**
  93. * 成本金额
  94. */
  95. private BigDecimal totalAmount;
  96. /**
  97. * 分摊参数比例
  98. */
  99. private BigDecimal shareParamRate;
  100. /**
  101. *
  102. */
  103. @TableLogic(value = "0",delval = "UNIX_TIMESTAMP(NOW()) * 1000")
  104. private Long deleteTime;
  105. }