package cn.iocoder.yudao.module.system.controller.admin.biz.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

/**
 * @Author: jinyd
 * @CreateTime: 2025/3/12  16:39
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 仓库设置新增/修改 Request VO")
@Data
public class WarehouseConfigSaveReqVO {

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

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

    @Schema(description = "仓库位置")
    private String location;

    @Schema(description = "仓库面积（平方米）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "仓库面积（平方米）不能为空")
    private BigDecimal area;

    @Schema(description = "管理员")
    private String manager;

    @Schema(description = "状态，0-启动，1-禁用", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态，0-启动，1-禁用不能为空")
    private Integer status;

    @Schema(description = "系统类型，1：机构 2：居家(社区) 3：旅居", example = "1")
    private Integer orgType;

    private Long tenantId;

}
