package cn.iocoder.yudao.module.mes.controller.admin.moldreturn.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 模具管理-模具入库新增/修改 Request VO")
@Data
public class MoldReturnSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31438")
    private Long id;

    @Schema(description = "领模单号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14986")
    @NotNull(message = "领模单号不能为空")
    private Long orderId;

    @Schema(description = "模具编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "模具编码不能为空")
    private String code;

    @Schema(description = "模具名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "模具名称不能为空")
    private String name;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "状态不能为空")
    private String state;

    @Schema(description = "归还人")
    private String person;

    @Schema(description = "入库时间")
    private LocalDateTime returnTime;

    @Schema(description = "库管员")
    private String principal;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}