liyong
2026-07-10 80ddf4c9c0bcb0f6c31524e0d9f5599c8001e904
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.time.LocalDate;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 考勤异常申请新增/修改 Request VO")
@Data
public class HrmAttendanceExceptionSaveReqVO {
 
    @Schema(description = "申请ID", example = "1")
    private Long id;
 
    @Schema(description = "异常类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "异常类型不能为空")
    private Integer type;
 
    @Schema(description = "异常日期", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-01-15")
    @NotNull(message = "异常日期不能为空")
    private LocalDate exceptionDate;
 
    @Schema(description = "异常时间点", example = "2024-01-15 09:00:00")
    private LocalDateTime exceptionTime;
 
    @Schema(description = "申请原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "忘记打卡")
    @NotEmpty(message = "申请原因不能为空")
    private String reason;
 
    @Schema(description = "附件地址", example = "https://xxx.com/xxx.jpg")
    private String fileUrl;
 
    @Schema(description = "备注", example = "备注信息")
    private String remark;
 
}