update
This commit is contained in:
118
src/entity/trx_transaction_amls.ts
Normal file
118
src/entity/trx_transaction_amls.ts
Normal file
@ -0,0 +1,118 @@
|
||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||
import { TrxTransaction } from "./trx_transactions";
|
||||
|
||||
@Entity("trx_transaction_amls", { schema: "trx" })
|
||||
export class TrxTransactionAml {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => TrxTransaction, { onDelete: "NO ACTION" })
|
||||
@JoinColumn()
|
||||
transaction: TrxTransaction;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
sender_name: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
sender_address: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
sender_phone: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
sender_country: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
sender_identity: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
sender_account_number: string;
|
||||
|
||||
@Column({
|
||||
type: "float8",
|
||||
})
|
||||
amount: number;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
receiver_name: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
receiver_address: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
receiver_country: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
receiver_bank: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
receiver_bank_branch: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
receiver_account_number: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
receiver_news: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
purpose: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
frequency: string;
|
||||
|
||||
@Column({
|
||||
length: 256,
|
||||
})
|
||||
teller_ref: string;
|
||||
|
||||
@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;
|
||||
}
|
||||
@ -14,4 +14,5 @@ export * from "../entity/trx_bank_swifts";
|
||||
export * from "../entity/trx_receivers";
|
||||
export * from "../entity/trx_transactions";
|
||||
export * from "../entity/trx_transaction_slas";
|
||||
export * from "../entity/trx_transaction_amls";
|
||||
export * from "../types/trx";
|
||||
|
||||
Reference in New Issue
Block a user