chore: change the real user abd legal user data
This commit is contained in:
@@ -21,6 +21,7 @@ import { UserSubscription } from "../../subscriptions/entities/user-subscription
|
||||
import { TicketMessage } from "../../tickets/entities/ticket-message.entity";
|
||||
import { Ticket } from "../../tickets/entities/ticket.entity";
|
||||
import { Wallet } from "../../wallets/entities/wallet.entity";
|
||||
import { FinancialType } from "../enums/financial-type.enum";
|
||||
|
||||
@Entity()
|
||||
export class User extends BaseEntity {
|
||||
@@ -55,6 +56,9 @@ export class User extends BaseEntity {
|
||||
@Column({ type: "boolean", default: false })
|
||||
emailVerified: boolean;
|
||||
|
||||
@Column({ type: "enum", enum: FinancialType, nullable: true })
|
||||
financialType: FinancialType | null;
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
@ManyToMany(() => Role, (role) => role.users)
|
||||
|
||||
Reference in New Issue
Block a user