package com.haha.entity.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 创建补货员DTO
 */
@Data
public class ReplenisherCreateDTO {

    @NotBlank(message = "补货员姓名不能为空")
    @Size(max = 50, message = "姓名长度不能超过50")
    private String name;

    @Size(max = 20, message = "手机号长度不能超过20")
    private String phone;

    @Size(max = 50, message = "工号长度不能超过50")
    private String employeeId;
}
