package com.zt.plat.module.qms.business.config.controller.vo;

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

@Schema(description = "管理后台 - 样品库位信息新增/修改 Request VO")
@Data
public class ConfigWarehouseLocationInfomationSaveReqVO {

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

    @Schema(description = "样品库名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "样品库名称不能为空")
    private String name;

    @Schema(description = "库位编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "库位编号不能为空")
    private String code;

    @Schema(description = "仓库编码")
    private String warehouseCoding;

    @Schema(description = "样品容量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "样品容量不能为空")
    private Integer capacity;

    @Schema(description = "所属部门", requiredMode = Schema.RequiredMode.REQUIRED)
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

}