ReportFormVO.java 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. package com.kcim.vo;
  2. import com.fasterxml.jackson.annotation.JsonInclude;
  3. import io.swagger.annotations.ApiModel;
  4. import lombok.AllArgsConstructor;
  5. import lombok.Data;
  6. import lombok.NoArgsConstructor;
  7. import java.util.List;
  8. @Data
  9. @AllArgsConstructor
  10. @NoArgsConstructor
  11. @ApiModel("报表项目视图对象")
  12. public class ReportFormVO {
  13. private Long id;
  14. private Integer num;
  15. private String reportName;
  16. private Long parentId;
  17. private Integer calcType;
  18. private Integer reportType;
  19. private String calcFormula;
  20. private Integer sort;
  21. private String ratioBase;
  22. private Long hospId;
  23. private Integer isLoss;
  24. @JsonInclude(JsonInclude.Include.NON_NULL)
  25. private Integer showAddRelation;
  26. @JsonInclude(JsonInclude.Include.NON_NULL)
  27. private List<ReportFormVO> children;
  28. @JsonInclude(JsonInclude.Include.NON_NULL)
  29. private List<RelationVO> reportRelations;
  30. private Integer costType;
  31. private Integer fraction;
  32. private String description;
  33. private Integer hide;
  34. /**
  35. * 数据类型:0未知 1数值 2百分比
  36. */
  37. private Integer dataType;
  38. /**
  39. * 数据类型名称
  40. */
  41. private String dataTypeName;
  42. /**
  43. * 小数位
  44. */
  45. private Integer decimalPlace;
  46. /**
  47. * 是否有千分号
  48. */
  49. private Integer permil;
  50. /**
  51. * 字体颜色
  52. */
  53. private String fontColor;
  54. /**
  55. * 报表与诊次床日关联的状态
  56. */
  57. private Integer reportNumberSetStatus=0;
  58. public ReportFormVO(Long id,Integer num, String reportName, Long parentId,List<ReportFormVO> children) {
  59. this.num = num;
  60. this.reportName = reportName;
  61. this.parentId = parentId;
  62. this.id = id;
  63. this.children = children;
  64. }
  65. }