update
This commit is contained in:
@ -1,8 +1,5 @@
|
|||||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, OneToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, OneToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||||
import { TrxCompany } from "./trx_companies";
|
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 { TrxConfigSourceIncome } from "./trx_config_source_incomes";
|
||||||
import { TrxTransactionSender } from "./trx_transaction_senders";
|
import { TrxTransactionSender } from "./trx_transaction_senders";
|
||||||
import { TrxTransactionRecepient } from "./trx_transaction_recepients";
|
import { TrxTransactionRecepient } from "./trx_transaction_recepients";
|
||||||
@ -60,19 +57,40 @@ export class TrxTransaction {
|
|||||||
signatures: String;
|
signatures: String;
|
||||||
|
|
||||||
@Column({ type: "boolean", nullable: true })
|
@Column({ type: "boolean", nullable: true })
|
||||||
is_teller_approved: boolean;
|
is_tl_approved: boolean;
|
||||||
|
|
||||||
@Column({ type: "varchar", length: 100, nullable: true })
|
@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 })
|
@Column({ nullable: true })
|
||||||
teller_approved_at: Date;
|
tl_approved_at: Date;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
length: 4096,
|
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 })
|
@ManyToOne(() => TrxConfigSourceIncome, { onDelete: "NO ACTION", nullable: true })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
|
|||||||
Reference in New Issue
Block a user