package com.writeoff.module.auth.model;

public class PlatformAuthSessionInfo {
    private final Long id;
    private final Long userId;
    private final Long tenantId;
    private final String scope;
    private final String status;
    private final String userName;
    private final String phone;
    private final String tenantName;
    private final String issuedAt;
    private final String expiresAt;
    private final String lastUsedAt;
    private final String revokedAt;
    private final String revokedReason;

    public PlatformAuthSessionInfo(Long id,
                                   Long userId,
                                   Long tenantId,
                                   String scope,
                                   String status,
                                   String userName,
                                   String phone,
                                   String tenantName,
                                   String issuedAt,
                                   String expiresAt,
                                   String lastUsedAt,
                                   String revokedAt,
                                   String revokedReason) {
        this.id = id;
        this.userId = userId;
        this.tenantId = tenantId;
        this.scope = scope;
        this.status = status;
        this.userName = userName;
        this.phone = phone;
        this.tenantName = tenantName;
        this.issuedAt = issuedAt;
        this.expiresAt = expiresAt;
        this.lastUsedAt = lastUsedAt;
        this.revokedAt = revokedAt;
        this.revokedReason = revokedReason;
    }

    public Long getId() {
        return id;
    }

    public Long getUserId() {
        return userId;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public String getScope() {
        return scope;
    }

    public String getStatus() {
        return status;
    }

    public String getUserName() {
        return userName;
    }

    public String getPhone() {
        return phone;
    }

    public String getTenantName() {
        return tenantName;
    }

    public String getIssuedAt() {
        return issuedAt;
    }

    public String getExpiresAt() {
        return expiresAt;
    }

    public String getLastUsedAt() {
        return lastUsedAt;
    }

    public String getRevokedAt() {
        return revokedAt;
    }

    public String getRevokedReason() {
        return revokedReason;
    }
}
