RoomExcelVo.java 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. package com.xjrsoft.module.room.vo;
  2. import com.alibaba.excel.annotation.ExcelProperty;
  3. import com.alibaba.excel.annotation.write.style.ContentStyle;
  4. import io.swagger.annotations.ApiModelProperty;
  5. import lombok.Data;
  6. /**
  7. * @title: 寝室分页列表出参
  8. * @Author dzx
  9. * @Date: 2023-12-27
  10. * @Version 1.0
  11. */
  12. @Data
  13. public class RoomExcelVo {
  14. /**
  15. * 序号
  16. */
  17. @ContentStyle(dataFormat = 49)
  18. @ExcelProperty("序号")
  19. @ApiModelProperty("序号")
  20. private Integer sortCode;
  21. /**
  22. * 楼栋(base_office_build)
  23. */
  24. @ContentStyle(dataFormat = 49)
  25. @ExcelProperty("楼栋名称")
  26. @ApiModelProperty("楼栋名称")
  27. private String bulidName;
  28. /**
  29. * 楼层
  30. */
  31. @ContentStyle(dataFormat = 49)
  32. @ExcelProperty("楼层")
  33. @ApiModelProperty("楼层")
  34. private Integer floorNumber;
  35. /**
  36. * 寝室名称
  37. */
  38. @ContentStyle(dataFormat = 49)
  39. @ExcelProperty("寝室名称")
  40. @ApiModelProperty("寝室名称")
  41. private String roomName;
  42. /**
  43. * 入住身份
  44. */
  45. @ContentStyle(dataFormat = 49)
  46. @ExcelProperty("入住身份")
  47. @ApiModelProperty("入住身份")
  48. private String checkInStatusCn;
  49. /**
  50. * 入住性别(xjr_dictionary_item[gender])
  51. */
  52. @ContentStyle(dataFormat = 49)
  53. @ExcelProperty("入住性别")
  54. @ApiModelProperty("入住性别")
  55. private String genderCn;
  56. /**
  57. * 床位数
  58. */
  59. @ContentStyle(dataFormat = 49)
  60. @ExcelProperty("床位数")
  61. @ApiModelProperty("床位数")
  62. private Integer bedCount;
  63. /**
  64. * 寝室长
  65. */
  66. @ContentStyle(dataFormat = 49)
  67. @ExcelProperty("寝室长")
  68. @ApiModelProperty("寝室长")
  69. private String studentAppointNames;
  70. /**
  71. * 寝室长
  72. */
  73. @ContentStyle(dataFormat = 49)
  74. @ExcelProperty("宿管")
  75. @ApiModelProperty("宿管")
  76. private String teacherAppointNames;
  77. /**
  78. * 是否是混合寝室【一个寝室有多个班级的学生】(1:是 0:否)
  79. */
  80. @ContentStyle(dataFormat = 49)
  81. @ExcelProperty("混合寝室")
  82. @ApiModelProperty("是否是混合寝室")
  83. private String isMax;
  84. /**
  85. * 备注
  86. */
  87. @ContentStyle(dataFormat = 49)
  88. @ExcelProperty("备注")
  89. @ApiModelProperty("备注")
  90. private String remark;
  91. }