liu
9 小时以前 5d34bdd3c426bb2ca5f6627424ae67984f745603
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
package cn.iocoder.yudao.module.asset.controller.admin.requisition.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 资产归还 Request VO")
@Data
public class AssetRequisitionReturnReqVO {
 
    @Schema(description = "领用记录编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "领用记录编号不能为空")
    private Long id;
 
    @Schema(description = "本次归还数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "归还数量不能为空")
    @Min(value = 1, message = "归还数量必须大于 0")
    private Integer returnQuantity;
 
    @Schema(description = "归还时间,不传默认当前时间")
    private LocalDateTime returnTime;
 
    @Schema(description = "备注")
    private String remark;
 
}