AttPustBase.java 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. package com.goldenwater.slgc.domain;
  2. import com.goldenwater.common.annotation.Excel;
  3. import com.goldenwater.common.core.domain.BaseEntity;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import io.swagger.v3.oas.annotations.media.Schema;
  6. import lombok.AllArgsConstructor;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import lombok.NoArgsConstructor;
  10. import java.math.BigDecimal;
  11. import java.util.Date;
  12. @Schema(description = "水闸信息实体")
  13. @Data
  14. @NoArgsConstructor
  15. @AllArgsConstructor
  16. @EqualsAndHashCode(callSuper = true)
  17. public class AttPustBase extends BaseEntity {
  18. private static final long serialVersionUID = 1L;
  19. @Schema(description = "水闸编码")
  20. @Excel(name = "水闸代码", sort = 1, width = 20)
  21. private String pustCode;
  22. @Schema(description = "采集日期")
  23. private Date collDate;
  24. @Schema(description = "水闸名称")
  25. @Excel(name = "水闸名称", sort = 2, width = 20)
  26. private String pustName;
  27. @Schema(description = "水闸经度")
  28. @Excel(name = "起点经度", sort = 3, cellType = Excel.ColumnType.NUMERIC)
  29. private BigDecimal pustLong;
  30. @Schema(description = "水闸纬度")
  31. @Excel(name = "起点纬度", sort = 4, cellType = Excel.ColumnType.NUMERIC)
  32. private BigDecimal pustLat;
  33. @Schema(description = "水闸位置")
  34. @Excel(name = "水闸所在位置", sort = 7, width = 30)
  35. private String pustLoc;
  36. @Schema(description = "水闸类型")
  37. @Excel(name = "水闸类型", sort = 8, readConverterExp = "1=分(泄)洪闸,2=节制闸,3=排(退)水闸,4=引(进)水闸,5=挡潮闸,6=船闸,9=其他", combo = {"分(泄)洪闸","节制闸","排(退)水闸","引(进)水闸","挡潮闸","船闸","其他"})
  38. private String pustType;
  39. @Schema(description = "设计流量")
  40. @Excel(name = "最大过闸流量", sort = 11)
  41. private BigDecimal insFlow;
  42. @Schema(description = "装机功率")
  43. @Excel(name = "装机功率", sort = 18)
  44. private BigDecimal insPow;
  45. @Schema(description = "水泵数量")
  46. @Excel(name = "闸孔数量", sort = 12)
  47. private BigDecimal pumpNum;
  48. @Schema(description = "机组台数")
  49. private BigDecimal pumpSetNum;
  50. @Schema(description = "总装机容量")
  51. private BigDecimal desTotInsCap;
  52. @Schema(description = "设计扬程")
  53. @Excel(name = "设计扬程", sort = 5)
  54. private BigDecimal desHead;
  55. @Schema(description = "工程任务")
  56. @Excel(name = "工程任务", sort = 6)
  57. private String engTask;
  58. @Schema(description = "灌溉范围")
  59. private String wasuRang;
  60. @Schema(description = "工程等级")
  61. @Excel(name = "工程等别", sort = 9, readConverterExp = "1=Ⅰ等,2=Ⅱ等,3=Ⅲ等,4=Ⅳ等,5=Ⅴ等", combo = {"Ⅰ等","Ⅱ等","Ⅲ等","Ⅳ等","Ⅴ等"})
  62. private String engGrad;
  63. @Schema(description = "工程规模")
  64. @Excel(name = "工程规模", sort = 10, readConverterExp = "1=大(1)型,2=大(2)型,3=中型,4=小(1)型,5=小(2)型", combo = {"大(1)型","大(2)型","中型","小(1)型","小(2)型"})
  65. private String engScal;
  66. @Schema(description = "主要水工类型")
  67. private String wainWasoType;
  68. @Schema(description = "主要建筑物级别")
  69. @Excel(name = "主要建筑物级别", sort = 19, readConverterExp = "1=1级,2=2级,3=3级,4=4级,5=5级", combo = {"1级","2级","3级","4级","5级"})
  70. private String mainBuildGrad;
  71. @Schema(description = "工程状态")
  72. @Excel(name = "工程建设情况", sort = 13, readConverterExp = "1=已建,2=在建,3=规划", combo = {"已建","在建","规划"})
  73. private String engStat;
  74. @Schema(description = "开工日期")
  75. @Excel(name = "开工时间", sort = 14, dateFormat = "yyyy-MM-dd")
  76. @JsonFormat(pattern = "yyyy-MM-dd")
  77. private Date startDate;
  78. @Schema(description = "竣工日期")
  79. @Excel(name = "建成时间", sort = 15, dateFormat = "yyyy-MM-dd")
  80. @JsonFormat(pattern = "yyyy-MM-dd")
  81. private Date compDate;
  82. @Schema(description = "投产日期")
  83. private Date startRunDate;
  84. @Schema(description = "管理单位")
  85. @Excel(name = "归口管理部门", sort = 16, width = 20)
  86. private String admDep;
  87. @Schema(description = "备注")
  88. @Excel(name = "备注", sort = 17, width = 20)
  89. private String note;
  90. @Schema(description = "更新日期")
  91. private Date updDate;
  92. @Schema(description = "类型")
  93. private String type;
  94. @Schema(description = "数据来源")
  95. private String source;
  96. @Schema(description = "工程类型")
  97. private String gcType;
  98. @Schema(description = "原编码")
  99. private String oldCode;
  100. @Schema(description = "关键字")
  101. private String key;
  102. }