package cn.iocoder.yudao.module.hrm.controller.admin.approval.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - 请假申请 Response VO")
|
@Data
|
public class HrmLeaveApplicationRespVO {
|
|
@Schema(description = "申请ID", example = "1")
|
private Long id;
|
|
@Schema(description = "申请单号", example = "LA202401001")
|
private String no;
|
|
@Schema(description = "申请人ID", example = "1")
|
private Long userId;
|
|
@Schema(description = "申请人姓名", example = "张三")
|
private String userName;
|
|
@Schema(description = "部门ID", example = "1")
|
private Long deptId;
|
|
@Schema(description = "部门名称", example = "研发部")
|
private String deptName;
|
|
@Schema(description = "请假类型", example = "1")
|
private Integer leaveType;
|
|
@Schema(description = "请假类型名称", example = "年假")
|
private String leaveTypeName;
|
|
@Schema(description = "开始时间", example = "2024-01-01 09:00:00")
|
private LocalDateTime startTime;
|
|
@Schema(description = "结束时间", example = "2024-01-02 18:00:00")
|
private LocalDateTime endTime;
|
|
@Schema(description = "请假时长(天)", example = "1.5")
|
private BigDecimal duration;
|
|
@Schema(description = "请假原因", example = "个人事务")
|
private String reason;
|
|
@Schema(description = "审批状态", example = "0")
|
private Integer status;
|
|
@Schema(description = "审批状态名称", example = "草稿")
|
private String statusName;
|
|
@Schema(description = "BPM 流程实例ID", example = "xxx")
|
private String processInstanceId;
|
|
@Schema(description = "审批完成时间", example = "2024-01-01 10:00:00")
|
private LocalDateTime approveTime;
|
|
@Schema(description = "附件地址", example = "https://xxx.com/xxx.pdf")
|
private String fileUrl;
|
|
@Schema(description = "备注", example = "备注信息")
|
private String remark;
|
|
@Schema(description = "创建时间", example = "2024-01-01 09:00:00")
|
private LocalDateTime createTime;
|
|
}
|