|
|
@@ -1,5 +1,6 @@
|
|
|
package com.xjrsoft.module.room.vo;
|
|
|
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
import com.alibaba.excel.annotation.write.style.ContentStyle;
|
|
|
@@ -21,16 +22,19 @@ public class WfRoomStayOvernightVo {
|
|
|
/**
|
|
|
* 主键编号
|
|
|
*/
|
|
|
+ @ExcelIgnore
|
|
|
@ApiModelProperty("主键编号")
|
|
|
private Long id;
|
|
|
/**
|
|
|
* 序号
|
|
|
*/
|
|
|
+ @ExcelIgnore
|
|
|
@ApiModelProperty("序号")
|
|
|
private Integer sortCode;
|
|
|
/**
|
|
|
* 申请人
|
|
|
*/
|
|
|
+ @ExcelIgnore
|
|
|
@ApiModelProperty("申请人")
|
|
|
private Long applicantUserId;
|
|
|
/**
|
|
|
@@ -39,12 +43,13 @@ public class WfRoomStayOvernightVo {
|
|
|
@ColumnWidth(15)
|
|
|
@HeadFontStyle(color = 9)
|
|
|
@ContentStyle(dataFormat = 60)
|
|
|
- @ExcelProperty("申请人姓名")
|
|
|
+ @ExcelProperty("申请人")
|
|
|
@ApiModelProperty("申请人姓名")
|
|
|
private String applicantUserIdCN;
|
|
|
/**
|
|
|
* 班主任用户编号
|
|
|
*/
|
|
|
+ @ExcelIgnore
|
|
|
@ApiModelProperty("班主任用户编号")
|
|
|
private Long headTeacherId;
|
|
|
/**
|
|
|
@@ -53,18 +58,19 @@ public class WfRoomStayOvernightVo {
|
|
|
@ColumnWidth(15)
|
|
|
@HeadFontStyle(color = 9)
|
|
|
@ContentStyle(dataFormat = 60)
|
|
|
- @ExcelProperty("班主任用户编号")
|
|
|
+ @ExcelProperty("班主任")
|
|
|
@ApiModelProperty("班主任姓名")
|
|
|
private String headTeacherIdCN;
|
|
|
/**
|
|
|
* 寝室编号(room)
|
|
|
*/
|
|
|
+ @ExcelIgnore
|
|
|
@ApiModelProperty("寝室编号(room)")
|
|
|
private Long roomId;
|
|
|
/**
|
|
|
* 寝室+床位名称
|
|
|
*/
|
|
|
- @ColumnWidth(15)
|
|
|
+ @ColumnWidth(25)
|
|
|
@HeadFontStyle(color = 9)
|
|
|
@ContentStyle(dataFormat = 60)
|
|
|
@ExcelProperty("寝室+床位名称")
|
|
|
@@ -100,25 +106,37 @@ public class WfRoomStayOvernightVo {
|
|
|
/**
|
|
|
* 开始时间
|
|
|
*/
|
|
|
+ @ExcelIgnore
|
|
|
+ @ApiModelProperty("开始时间")
|
|
|
+ private LocalDateTime startTime;
|
|
|
+ /**
|
|
|
+ * 开始时间
|
|
|
+ */
|
|
|
@ColumnWidth(20)
|
|
|
@HeadFontStyle(color = 9)
|
|
|
@ContentStyle(dataFormat = 60)
|
|
|
@ExcelProperty("开始时间")
|
|
|
@ApiModelProperty("开始时间")
|
|
|
- private LocalDateTime startTime;
|
|
|
+ private String startTimeStr;
|
|
|
/**
|
|
|
* 结束时间
|
|
|
*/
|
|
|
+ @ExcelIgnore
|
|
|
+ @ApiModelProperty("结束时间")
|
|
|
+ private LocalDateTime endTime;
|
|
|
+ /**
|
|
|
+ * 结束时间
|
|
|
+ */
|
|
|
@ColumnWidth(20)
|
|
|
@HeadFontStyle(color = 9)
|
|
|
@ContentStyle(dataFormat = 60)
|
|
|
@ExcelProperty("结束时间")
|
|
|
@ApiModelProperty("结束时间")
|
|
|
- private LocalDateTime endTime;
|
|
|
+ private String endTimeStr;
|
|
|
/**
|
|
|
* 时长(天)
|
|
|
*/
|
|
|
- @ColumnWidth(10)
|
|
|
+ @ColumnWidth(15)
|
|
|
@HeadFontStyle(color = 9)
|
|
|
@ContentStyle(dataFormat = 60)
|
|
|
@ExcelProperty("时长(天)")
|
|
|
@@ -154,6 +172,7 @@ public class WfRoomStayOvernightVo {
|
|
|
/**
|
|
|
* 状态(1:结束 0:未结束)
|
|
|
*/
|
|
|
+ @ExcelIgnore
|
|
|
@ApiModelProperty("状态(1:结束 0:未结束)")
|
|
|
private Integer status;
|
|
|
|