package cn.qinys.platform.upms.api.req;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * Description:
 *
 * @author tanlie
 * Date: 2024/2/27 8:42
 */
@Data
public class UserRoleOperationReq implements Serializable {

    @NotEmpty(message = "角色id不能为空")
    private List<String> roleIds;

    @NotNull(message = "用户id不能为空")
    private String id;
}
