update
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinTable, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { TrxCustomerType } from "../types/trx";
|
||||
import { TrxCustomerType, TrxIdentityType } from "../types/trx";
|
||||
import { TrxOccupation } from "./trx_occupations";
|
||||
|
||||
@Entity("trx_customers", { schema: "trx" })
|
||||
@ -88,6 +88,12 @@ export class TrxCustomer {
|
||||
})
|
||||
identity_number: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
identity_type: TrxIdentityType;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
|
||||
Reference in New Issue
Block a user