File

src/registrar/entities/registrar.entity.ts

Index

Properties

Properties

accessCertificateId
Type : string
Decorators :
@Column('varchar')
relyingPartyId
Type : string
Decorators :
@Column('varchar')
tenant
Type : TenantEntity
Decorators :
@ManyToOne(undefined, {cascade: true, onDelete: 'CASCADE'})

The tenant that owns this object.

tenantId
Type : string
Decorators :
@Column('varchar', {primary: true})
import { Column, Entity, ManyToOne } from "typeorm";
import { TenantEntity } from "../../auth/tenant/entitites/tenant.entity";

@Entity()
export class RegistrarEntity {
    @Column("varchar", { primary: true })
    tenantId: string;

    /**
     * The tenant that owns this object.
     */
    @ManyToOne(() => TenantEntity, { cascade: true, onDelete: "CASCADE" })
    tenant: TenantEntity;

    @Column("varchar")
    relyingPartyId: string;

    @Column("varchar")
    accessCertificateId: string;
}

results matching ""

    No results matching ""