| | |
| | | package cn.iocoder.yudao.module.hrm.controller.admin.approval.vo; |
| | | |
| | | import cn.idev.excel.annotation.ExcelIgnoreUnannotated; |
| | | import cn.idev.excel.annotation.ExcelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | |
| | | @Schema(description = "管理后台 - 请假申请 Response VO") |
| | | @Data |
| | | @ExcelIgnoreUnannotated |
| | | public class HrmLeaveApplicationRespVO { |
| | | |
| | | @Schema(description = "申请ID", example = "1") |
| | | private Long id; |
| | | |
| | | @Schema(description = "申请单号", example = "LA202401001") |
| | | @ExcelProperty("申请单号") |
| | | private String no; |
| | | |
| | | @Schema(description = "申请人ID", example = "1") |
| | | private Long userId; |
| | | |
| | | @Schema(description = "申请人姓名", example = "张三") |
| | | @ExcelProperty("申请人") |
| | | private String userName; |
| | | |
| | | @Schema(description = "部门ID", example = "1") |
| | | private Long deptId; |
| | | |
| | | @Schema(description = "部门名称", example = "研发部") |
| | | @ExcelProperty("部门") |
| | | private String deptName; |
| | | |
| | | @Schema(description = "请假类型", example = "1") |
| | | private Integer leaveType; |
| | | |
| | | @Schema(description = "请假类型名称", example = "年假") |
| | | @ExcelProperty("请假类型") |
| | | private String leaveTypeName; |
| | | |
| | | @Schema(description = "开始时间", example = "2024-01-01 09:00:00") |
| | | @ExcelProperty("开始时间") |
| | | private LocalDateTime startTime; |
| | | |
| | | @Schema(description = "结束时间", example = "2024-01-02 18:00:00") |
| | | @ExcelProperty("结束时间") |
| | | private LocalDateTime endTime; |
| | | |
| | | @Schema(description = "请假时长(天)", example = "1.5") |
| | | @ExcelProperty("请假时长(天)") |
| | | private BigDecimal duration; |
| | | |
| | | @Schema(description = "请假原因", example = "个人事务") |
| | | @ExcelProperty("请假事由") |
| | | private String reason; |
| | | |
| | | @Schema(description = "审批状态", example = "0") |
| | | private Integer status; |
| | | |
| | | @Schema(description = "审批状态名称", example = "草稿") |
| | | @ExcelProperty("状态") |
| | | private String statusName; |
| | | |
| | | @Schema(description = "审核人用户编号", example = "1") |
| | | private Long reviewerId; |
| | | |
| | | @Schema(description = "审核人姓名", example = "张三") |
| | | @ExcelProperty("审核人") |
| | | private String reviewerName; |
| | | |
| | | @Schema(description = "审核时间", example = "2024-01-01 10:00:00") |
| | | @ExcelProperty("审核时间") |
| | | private LocalDateTime reviewTime; |
| | | |
| | | @Schema(description = "审核意见(审核通过时的意见 / 审核不通过时的原因)", example = "同意") |
| | | @ExcelProperty("审核意见") |
| | | private String reviewRemark; |
| | | |
| | | @Schema(description = "审批完成时间", example = "2024-01-01 10:00:00") |
| | | @ExcelProperty("审批通过时间") |
| | | private LocalDateTime approveTime; |
| | | |
| | | @Schema(description = "附件列表") |
| | | private List<StorageBlobRespDTO> attachmentList; |
| | | |
| | | @Schema(description = "备注", example = "备注信息") |
| | | @ExcelProperty("备注") |
| | | private String remark; |
| | | |
| | | @Schema(description = "创建时间", example = "2024-01-01 09:00:00") |
| | | @ExcelProperty("创建时间") |
| | | private LocalDateTime createTime; |
| | | |
| | | } |