src/registrar/entities/registrar.entity.ts
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})
|
|
Defined in src/registrar/entities/registrar.entity.ts:7
|
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;
}