package com.yuchen.saas.manage.system.api.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


@Data
@ApiModel(value = "OrgRoleGroup新增")
public class UpdateCreateAdminBySuperParam {

    @ApiModelProperty(value = "列表id(组织id)")
    private Long id;


    @ApiModelProperty(value = "名称")
    private String name;

    @NotBlank
    @ApiModelProperty(value = "手机号")
    private String phone;

    @NotBlank
    @ApiModelProperty(value = "手机号验证码")
    private String code;
}
