package com.cf.imes.module.executor.controller.admin.moduleitem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 生产单模块明细新增/修改 Request VO")
@Data
public class ModuleItemSaveReqVO {

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

    @Schema(description = "生产单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "生产单号不能为空")
    private Long orderNo;

    @Schema(description = "房间 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1469")
    @NotNull(message = "房间 ID不能为空")
    private Long roomId;

    @Schema(description = "柜体 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3460")
    @NotNull(message = "柜体 ID不能为空")
    private Long bodyId;

    @Schema(description = "模块类型 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15993")
    @NotNull(message = "模块类型 ID不能为空")
    private Long typeId;

    @Schema(description = "模块 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13998")
    @NotNull(message = "模块 ID不能为空")
    private Long moduleId;

    @Schema(description = "明细 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11426")
    @NotNull(message = "明细 ID不能为空")
    private Long itemId;

}