update
This commit is contained in:
42
src/entity/trx_occupations.ts
Normal file
42
src/entity/trx_occupations.ts
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||||
|
|
||||||
|
import { Status } from "../types/status";
|
||||||
|
|
||||||
|
@Entity("trx_occupations", { schema: "trx" })
|
||||||
|
export class TrxOccupation {
|
||||||
|
@PrimaryGeneratedColumn("uuid")
|
||||||
|
id: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 256,
|
||||||
|
})
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
length: 64,
|
||||||
|
})
|
||||||
|
status: Status;
|
||||||
|
|
||||||
|
@Column()
|
||||||
|
@CreateDateColumn()
|
||||||
|
created_at: Date;
|
||||||
|
|
||||||
|
@Column({ nullable: true, length: 256 })
|
||||||
|
created_by: string;
|
||||||
|
|
||||||
|
@Column({ nullable: true })
|
||||||
|
@UpdateDateColumn()
|
||||||
|
updated_at: Date;
|
||||||
|
|
||||||
|
@Column({ nullable: true, length: 256 })
|
||||||
|
updated_by: string;
|
||||||
|
|
||||||
|
@Column({ nullable: true })
|
||||||
|
@DeleteDateColumn()
|
||||||
|
deleted_at: Date;
|
||||||
|
|
||||||
|
@Column({ nullable: true, length: 256 })
|
||||||
|
deleted_by: string;
|
||||||
|
}
|
||||||
@ -1,7 +1,6 @@
|
|||||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||||
|
|
||||||
import { Status } from "../types/status";
|
import { Status } from "../types/status";
|
||||||
import { RemitRiskLevel } from "../types/remit";
|
|
||||||
|
|
||||||
@Entity("trx_purposes", { schema: "trx" })
|
@Entity("trx_purposes", { schema: "trx" })
|
||||||
export class TrxPurposes {
|
export class TrxPurposes {
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
export * from "../entity/trx_purposes";
|
export * from "../entity/trx_purposes";
|
||||||
|
export * from "../entity/trx_occupations";
|
||||||
export * from "../entity/trx_verifications";
|
export * from "../entity/trx_verifications";
|
||||||
export * from "../entity/trx_customers";
|
export * from "../entity/trx_customers";
|
||||||
export * from "../entity/trx_customer_accounts";
|
export * from "../entity/trx_customer_accounts";
|
||||||
|
|||||||
Reference in New Issue
Block a user