Allocation.java 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. private String targetResponsibilityCode;
  73. private String targetResponsibilityName;
  74. private String shareParamCode;
  75. private String shareParamName;
  76. private BigDecimal shareParamValueNum;
  77. private BigDecimal totalAmount;
  78. private BigDecimal shareParamRate;
  79. /**
  80. *
  81. */
  82. @TableLogic(value = "0",delval = "UNIX_TIMESTAMP(NOW()) * 1000")
  83. private Long deleteTime;
  84. }