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;
|
|
}
|