|
|
@@ -1,13 +1,13 @@
|
|
|
package com.xjrsoft.module.room.vo;
|
|
|
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
+import com.alibaba.excel.annotation.write.style.ContentStyle;
|
|
|
+import com.alibaba.excel.annotation.write.style.HeadFontStyle;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
|
|
|
-import java.time.LocalTime;
|
|
|
import java.time.LocalDateTime;
|
|
|
-import java.math.BigDecimal;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* @title: 留校住宿申请表单出参
|
|
|
@@ -33,11 +33,29 @@ public class WfRoomStayOvernightVo {
|
|
|
*/
|
|
|
@ApiModelProperty("申请人")
|
|
|
private Long applicantUserId;
|
|
|
+ /**
|
|
|
+ * 申请人姓名
|
|
|
+ */
|
|
|
+ @ColumnWidth(15)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("申请人姓名")
|
|
|
+ @ApiModelProperty("申请人姓名")
|
|
|
+ private String applicantUserIdCN;
|
|
|
/**
|
|
|
* 班主任用户编号
|
|
|
*/
|
|
|
@ApiModelProperty("班主任用户编号")
|
|
|
private Long headTeacherId;
|
|
|
+ /**
|
|
|
+ * 班主任姓名
|
|
|
+ */
|
|
|
+ @ColumnWidth(15)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("班主任用户编号")
|
|
|
+ @ApiModelProperty("班主任姓名")
|
|
|
+ private String headTeacherIdCN;
|
|
|
/**
|
|
|
* 寝室编号(room)
|
|
|
*/
|
|
|
@@ -46,51 +64,91 @@ public class WfRoomStayOvernightVo {
|
|
|
/**
|
|
|
* 寝室+床位名称
|
|
|
*/
|
|
|
+ @ColumnWidth(15)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("寝室+床位名称")
|
|
|
@ApiModelProperty("寝室+床位名称")
|
|
|
private String roomBedNumber;
|
|
|
/**
|
|
|
* 学号
|
|
|
*/
|
|
|
+ @ColumnWidth(20)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("学号")
|
|
|
@ApiModelProperty("学号")
|
|
|
private String studentId;
|
|
|
/**
|
|
|
* 性别
|
|
|
*/
|
|
|
+ @ColumnWidth(15)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("性别")
|
|
|
@ApiModelProperty("性别")
|
|
|
private String genderName;
|
|
|
/**
|
|
|
* 班级
|
|
|
*/
|
|
|
+ @ColumnWidth(15)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("班级")
|
|
|
@ApiModelProperty("班级")
|
|
|
private String className;
|
|
|
/**
|
|
|
* 开始时间
|
|
|
*/
|
|
|
+ @ColumnWidth(20)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("开始时间")
|
|
|
@ApiModelProperty("开始时间")
|
|
|
- private Date startTime;
|
|
|
+ private LocalDateTime startTime;
|
|
|
/**
|
|
|
* 结束时间
|
|
|
*/
|
|
|
+ @ColumnWidth(20)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("结束时间")
|
|
|
@ApiModelProperty("结束时间")
|
|
|
- private Date endTime;
|
|
|
+ private LocalDateTime endTime;
|
|
|
/**
|
|
|
* 时长(天)
|
|
|
*/
|
|
|
+ @ColumnWidth(10)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("时长(天)")
|
|
|
@ApiModelProperty("时长(天)")
|
|
|
private Integer duration;
|
|
|
/**
|
|
|
* 联系电话
|
|
|
*/
|
|
|
+ @ColumnWidth(15)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("联系电话")
|
|
|
@ApiModelProperty("联系电话")
|
|
|
private String mobile;
|
|
|
/**
|
|
|
* 监护人电话
|
|
|
*/
|
|
|
+ @ColumnWidth(15)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("监护人电话")
|
|
|
@ApiModelProperty("监护人电话")
|
|
|
private String guardianMobile;
|
|
|
/**
|
|
|
* 备注
|
|
|
*/
|
|
|
+ @ColumnWidth(20)
|
|
|
+ @HeadFontStyle(color = 9)
|
|
|
+ @ContentStyle(dataFormat = 60)
|
|
|
+ @ExcelProperty("备注")
|
|
|
@ApiModelProperty("备注")
|
|
|
private String remark;
|
|
|
/**
|