gaoluyang
8 天以前 9e9f0e2d9f6fcce7dcea88b181b3c7e6069e8a1b
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
package cn.iocoder.yudao.module.hrm.controller.admin.supply.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
@Schema(description = "管理后台 - 办公用品领用申请新增 Request VO")
@Data
public class HrmSupplyIssueSaveReqVO {
 
    @Schema(description = "用品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "办公用品不能为空")
    private Long supplyId;
 
    @Schema(description = "申请人编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "申请人不能为空")
    private Long userId;
 
    @Schema(description = "申请部门编号", example = "1024")
    private Long deptId;
 
    @Schema(description = "领用数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "领用数量不能为空")
    private Integer quantity;
 
    @Schema(description = "领用事由", example = "部门日常办公使用")
    private String useReason;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}