package net.lab1024.sa.admin.module.business.wms.base.stock.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 容器信息 新建表单
 *
 * @author 霍锦
 * @since  2024-11-26 11:37:48
 * copyright 友仓
 */

@Data
public class StockAddForm {

    @Schema(description = "容器编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "容器编码 不能为空")
    private String stockCode;

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

    @Schema(description = "启用状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "启用状态 不能为空")
    private Boolean disabledFlag;

    @Schema(description = "容器类型")
    @NotBlank(message = "容器类型 不能为空 ")
    private String stockType;

    @Schema(description = "库位")
    private Long locationId;

    @Schema(hidden = true)
    private Long createUserId;

    @Schema(hidden = true)
    private String createUserName;



}