package com.starry.admin.modules.personnel.module.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 店员分组基本信息修改
 *
 * @author admin
 * @since 2024/6/14 14:45
 **/
@Data
@ApiModel(value = "新增分组参数", description = "新增店员分组信息的请求参数")
public class PlayPersonnelGroupInfoEditAddInfoVo {

    /**
     * 分组名称
     */
    @NotBlank(message = "用户ID不能为空")
    @ApiModelProperty(value = "用户ID", required = true, example = "1", notes = "系统用户ID")
    private String sysUserId;

    /**
     * 分组名称
     */
    @NotBlank(message = "分组名称不能为空")
    @Length(min = 1, max = 100, message = "字符长度在1-100之间")
    @ApiModelProperty(value = "分组名称", required = true, example = "销售组", notes = "分组的名称，1-100字符")
    private String groupName;

    /**
     * 分组名称
     */
    @NotBlank(message = "组长名称不能为空")
    @Length(min = 1, max = 100, message = "字符长度在1-100之间")
    @ApiModelProperty(value = "组长名称", required = true, example = "张三", notes = "组长的名称，1-100字符")
    private String leaderName;

}
