package com.bcxin.api.interfaces.identities.requests;

import com.bcxin.api.interfaces.RequestAbstract;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter(AccessLevel.PROTECTED)
public class PasswordRequestAbstract extends RequestAbstract {
    private boolean isPlainPassword;

    public boolean isRsa() {
        return !isPlainPassword;
    }
}
