HospProfitAndLoss.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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 huangrui
  16. * @email
  17. * @date 2021-08-27 14:20:53
  18. */
  19. @Data
  20. @Accessors(chain = true)
  21. @AllArgsConstructor
  22. @NoArgsConstructor
  23. @TableName("cost_hosp_profit_and_loss")
  24. public class HospProfitAndLoss 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. * 报表项目id
  41. */
  42. private Integer reportNum;
  43. /**
  44. * 报表项目名称
  45. */
  46. private String reportName;
  47. /**
  48. * 成本类型
  49. */
  50. private Integer costType;
  51. /**
  52. * 收入类型
  53. */
  54. private Integer incomeType;
  55. // 0. 报表项目 1. 全院其他收支
  56. private Integer originType;
  57. /**
  58. * 金额
  59. */
  60. private BigDecimal amount;
  61. private Long hospId;
  62. private String responsibilityCode;
  63. private String responsibilityName;
  64. private Integer reportType;
  65. /**
  66. * 创建时间
  67. */
  68. private Long createTime;
  69. /**
  70. * 删除时间
  71. */
  72. @TableLogic(value = "0", delval = "UNIX_TIMESTAMP(NOW()) * 1000")
  73. private Long deleteTime;
  74. private BigDecimal percent;
  75. @TableField(exist = false)
  76. private Integer type;
  77. @TableField(exist = false)
  78. private Integer fraction;
  79. /**
  80. * 父类责任中心名称
  81. */
  82. @TableField(exist = false)
  83. private String parentResponsibilityCode;
  84. @TableField(exist = false)
  85. private String parentResponsibilityName;
  86. /**
  87. * 预算金额
  88. */
  89. private BigDecimal budgetAmount;
  90. /**
  91. * 上期金额
  92. */
  93. private BigDecimal prevPeriodAmount;
  94. /**
  95. * 同期金额
  96. */
  97. private BigDecimal samePeriodAmount;
  98. /**
  99. * 完成率
  100. */
  101. private BigDecimal completionRate;
  102. /**
  103. * 环比
  104. */
  105. private BigDecimal momRate;
  106. /**
  107. * 同比
  108. */
  109. private BigDecimal yoyRate;
  110. }