package net.lab1024.sa.admin.module.business.wms.base.customer.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 霍锦
 * @Date 2025-03-25 10:42:33
 * @Copyright 友仓
 */

@Data
public class CustomerAddForm {

    @Schema(description = "客户代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "客户代码 不能为空")
    private String customerCode;

    @Schema(description = "客户名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "客户名称 不能为空")
    private String customerName;

    @Schema(description = "联系人")
    private String person;

    @Schema(description = "电话")
    private String telephone;

    @Schema(description = "地址")
    private String address;

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

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

    @Schema(hidden = true)
    private Long createUserId;

    @Schema(hidden = true)
    private String createUserName;

}