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

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

/**
 * 库区信息 新建表单
 *
 * @author hj
 * @since  2025-03-11 11:12:36
 * copyright 友仓
 */

@Data
public class AreaAddForm {

    @Schema(description = "库区编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "库区编码 不能为空")
    private String areaCode;

    @Schema(description = "库区名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "库区名称 不能为空")
    private String areaName;

    @Schema(description = "是否启用")
    @NotNull(message = "启用状态不能为空")
    private Boolean disabledFlag;

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

    @Schema(hidden = true)
    private Long createUserId;

    @Schema(hidden = true)
    private String createUserName;



}