package com.writeoff.module.auth.dto;

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

public class PlatformSessionRevokePrincipalRequest {
    @NotNull(message = "用户ID不能为空")
    private Long userId;
    private Long tenantId;
    @NotBlank(message = "scope不能为空")
    private String scope;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
