diff --git a/src/entity/trx_transactions.ts b/src/entity/trx_transactions.ts index d120c55..26a262c 100644 --- a/src/entity/trx_transactions.ts +++ b/src/entity/trx_transactions.ts @@ -1,8 +1,5 @@ import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, OneToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm"; import { TrxCompany } from "./trx_companies"; -import { Status } from "../types/status"; -import { TrxCif } from "./trx_cifs"; -import { TrxCompanyAccount } from "./trx_company_accounts"; import { TrxConfigSourceIncome } from "./trx_config_source_incomes"; import { TrxTransactionSender } from "./trx_transaction_senders"; import { TrxTransactionRecepient } from "./trx_transaction_recepients"; @@ -60,19 +57,40 @@ export class TrxTransaction { signatures: String; @Column({ type: "boolean", nullable: true }) - is_teller_approved: boolean; + is_tl_approved: boolean; @Column({ type: "varchar", length: 100, nullable: true }) - teller_approved_by: string; + tl_approved_by: string; + + @Column({ type: "varchar", length: 4096, nullable: true }) + tl_note: string; @Column({ nullable: true }) - teller_approved_at: Date; + tl_approved_at: Date; @Column({ nullable: true, length: 4096, }) - teller_signatures: String; + tl_signatures: String; + + @Column({ type: "boolean", nullable: true }) + is_spv_approved: boolean; + + @Column({ type: "varchar", length: 100, nullable: true }) + spv_approved_by: string; + + @Column({ type: "varchar", length: 4096, nullable: true }) + spv_note: string; + + @Column({ nullable: true }) + spv_approved_at: Date; + + @Column({ + nullable: true, + length: 4096, + }) + spv_signatures: String; @ManyToOne(() => TrxConfigSourceIncome, { onDelete: "NO ACTION", nullable: true }) @JoinColumn()