diff --git a/src/entity/trx_customer_users.ts b/src/entity/trx_customer_users.ts index 58587e7..29369e7 100644 --- a/src/entity/trx_customer_users.ts +++ b/src/entity/trx_customer_users.ts @@ -3,6 +3,7 @@ import { Column, CreateDateColumn, DeleteDateColumn, Entity, Index, JoinTable, M import { Status } from "../types/status"; import { TrxCustomer } from "./trx_customers"; +import { TrxOccupation } from "./trx_occupations"; @Entity("trx_customer_users", { schema: "trx" }) export class TrxCustomerUser { @@ -74,6 +75,18 @@ export class TrxCustomerUser { }) status: Status; + @Column({ + nullable: true, + length: 4096, + }) + occupation: TrxOccupation; + + @Column({ + nullable: true, + length: 256, + }) + identity: string; + @Column() @CreateDateColumn() created_at: Date; diff --git a/src/entity/trx_customers.ts b/src/entity/trx_customers.ts index 1837764..58b619a 100644 --- a/src/entity/trx_customers.ts +++ b/src/entity/trx_customers.ts @@ -1,6 +1,7 @@ import { Column, CreateDateColumn, DeleteDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm"; import { Status } from "../types/status"; import { TrxCustomerType } from "../types/trx"; +import { TrxOccupation } from "./trx_occupations"; @Entity("trx_customers", { schema: "trx" }) export class TrxCustomer { @@ -77,6 +78,18 @@ export class TrxCustomer { }) status: Status; + @Column({ + nullable: true, + length: 4096, + }) + occupation: TrxOccupation; + + @Column({ + nullable: true, + length: 256, + }) + identity: string; + @Column() @CreateDateColumn() created_at: Date;