package com.njzscloud.supervisory.sys.user.pojo.param;

import com.njzscloud.supervisory.sys.role.pojo.entity.RoleEntity;
import com.njzscloud.supervisory.sys.user.contant.Gender;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;


@Getter
@Setter
public class UserModifyParam {
    @NotNull
    private Long id;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 性别; 字典代码：gender
     */
    private Gender gender;

    /**
     * 角色 Id 列表
     */
    private List<RoleEntity> roles;

}
