CostDepartmentProfit.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. package com.kcim.dao.model;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableLogic;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import lombok.AllArgsConstructor;
  7. import lombok.Data;
  8. import lombok.NoArgsConstructor;
  9. import lombok.experimental.Accessors;
  10. import java.io.Serializable;
  11. import java.math.BigDecimal;
  12. /**
  13. * 科室损益计算
  14. *
  15. * @author KCYG
  16. * @email KCYG@xinxicom
  17. * @date 2021-08-24 16:24:08
  18. */
  19. @Data
  20. @Accessors(chain = true)
  21. @AllArgsConstructor
  22. @NoArgsConstructor
  23. @TableName("cost_department_profit")
  24. public class CostDepartmentProfit implements Serializable {
  25. private static final long serialVersionUID = 1L;
  26. /**
  27. * 主键
  28. */
  29. @TableId
  30. private Long id;
  31. /**
  32. * 年份
  33. */
  34. private Integer year;
  35. /**
  36. * 月份
  37. */
  38. private Integer month;
  39. /**
  40. * 报表项目父层级Id
  41. */
  42. private Long reportParentId;
  43. /**
  44. * 报表Id
  45. */
  46. private Long reportId;
  47. /**
  48. * 报表项目编号
  49. */
  50. private Integer reportNum;
  51. /**
  52. * 报表项目名称
  53. */
  54. private String reportName;
  55. /**
  56. * 计算公式
  57. */
  58. private String calcFormula;
  59. /**
  60. * 计算方式
  61. */
  62. private Integer calcType;
  63. /**
  64. * 责任中心代码
  65. */
  66. private String responsibilityCode;
  67. /**
  68. * 责任中心名称
  69. */
  70. private String responsibilityName;
  71. /**
  72. * 父类责任中心名称
  73. */
  74. @TableField(exist = false)
  75. private String parentResponsibilityCode;
  76. @TableField(exist = false)
  77. private String parentResponsibilityName;
  78. /**
  79. * 成本类型
  80. */
  81. private Integer costType;
  82. /**
  83. * 收入类型
  84. */
  85. private Integer incomeType;
  86. /**
  87. * 金额
  88. */
  89. private BigDecimal amount;
  90. /**
  91. * 医院id
  92. */
  93. private Long hospId;
  94. /**
  95. * 创建时间
  96. */
  97. private Long createTime;
  98. /**
  99. * 删除时间
  100. */
  101. @TableLogic(value = "0",delval = "UNIX_TIMESTAMP(NOW()) * 1000")
  102. private Long deleteTime;
  103. private Integer shareType;
  104. private BigDecimal percent;
  105. }