mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
17 lines
459 B
TypeScript
17 lines
459 B
TypeScript
import { BaseEntity, Entity, PrimaryGeneratedColumn, Column } from 'typeorm'
|
|
|
|
@Entity('login_user_backups')
|
|
export class LoginUserBackup extends BaseEntity {
|
|
@PrimaryGeneratedColumn('increment', { unsigned: true })
|
|
id: number
|
|
|
|
@Column({ type: 'text', name: 'passphrase', nullable: false })
|
|
passphrase: string
|
|
|
|
@Column({ name: 'user_id', nullable: false })
|
|
userId: number
|
|
|
|
@Column({ name: 'mnemonic_type', default: -1 })
|
|
mnemonicType: number
|
|
}
|