File

src/issuer/status-list/entities/status-mapping.entity.ts

Index

Properties

Properties

credentialConfigurationId
Type : string
Decorators :
@Column({type: 'varchar', primary: true})
index
Type : number
Decorators :
@Column({type: 'int', primary: true})
list
Type : string
Decorators :
@Column({type: 'varchar', primary: true})
sessionId
Type : string
Decorators :
@Column({type: 'varchar', primary: true})
tenant
Type : TenantEntity
Decorators :
@ManyToOne(undefined, {cascade: true, onDelete: 'CASCADE'})

The tenant that owns this object.

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

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

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

    @Column({ type: "varchar", primary: true })
    sessionId: string;

    @Column({ type: "varchar", primary: true })
    list: string;

    @Column({ type: "int", primary: true })
    index: number;

    @Column({ type: "varchar", primary: true })
    credentialConfigurationId: string;
}

results matching ""

    No results matching ""