package cn.iocoder.yudao.module.mes.controller.admin.moldget.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 MoldGetSaveReqVO {

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

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

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

    @Schema(description = "模具名称", example = "张三")
    private String name;

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

    @Schema(description = "领模人")
    private Long person;

    @Schema(description = "设备id", example = "1850")
    private Long deviceId;

    @Schema(description = "设备名称", example = "李四")
    private String deviceName;

    @Schema(description = "领取时间")
    private LocalDateTime getTime;

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

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

}