|
@@ -17,11 +17,11 @@ import com.alibaba.excel.annotation.*;
|
|
|
@ExcelIgnoreUnannotated
|
|
|
public class OaBusinessRespVO {
|
|
|
|
|
|
- @Schema(description = "出差表单主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @Schema(description = "出差表单主键")
|
|
|
@ExcelProperty("出差表单主键")
|
|
|
private Long id;
|
|
|
|
|
|
- @Schema(description = "出差人id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @Schema(description = "出差人id")
|
|
|
@ExcelProperty("出差人id")
|
|
|
private Long employeeId;
|
|
|
|
|
@@ -49,15 +49,19 @@ public class OaBusinessRespVO {
|
|
|
@ExcelProperty("职位")
|
|
|
private String position;
|
|
|
|
|
|
- @Schema(description = "出差目的地", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "出差事由")
|
|
|
+ @ExcelProperty("出差事由")
|
|
|
+ private String reason;
|
|
|
+
|
|
|
+ @Schema(description = "出差目的地")
|
|
|
@ExcelProperty("出差目的地")
|
|
|
private String destination;
|
|
|
|
|
|
- @Schema(description = "出差开始日期", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "出差开始日期")
|
|
|
@ExcelProperty("出差开始日期")
|
|
|
private String startDate;
|
|
|
|
|
|
- @Schema(description = "出差结束日期", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "出差结束日期")
|
|
|
@ExcelProperty("出差结束日期")
|
|
|
private String endDate;
|
|
|
|
|
@@ -65,7 +69,7 @@ public class OaBusinessRespVO {
|
|
|
@ExcelProperty("出差天数(d)")
|
|
|
private String day;
|
|
|
|
|
|
- @Schema(description = "出差预算费用,单位(元)", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "出差预算费用,单位(元)")
|
|
|
@ExcelProperty("出差预算费用,单位(元)")
|
|
|
private BigDecimal estimatedCost;
|
|
|
|