update
This commit is contained in:
@ -8,6 +8,7 @@ import { TrxCustomerCost } from "./trx_customer_costs";
|
|||||||
import { TrxCustomerUser } from "./trx_customer_users";
|
import { TrxCustomerUser } from "./trx_customer_users";
|
||||||
import { TrxTransactionPosition, TrxTransactionStatus, TrxTransactionType } from "../types/trx";
|
import { TrxTransactionPosition, TrxTransactionStatus, TrxTransactionType } from "../types/trx";
|
||||||
import { TrxVerification } from "./trx_verifications";
|
import { TrxVerification } from "./trx_verifications";
|
||||||
|
import { TrxPurposes } from "./trx_purposes";
|
||||||
|
|
||||||
@Entity("trx_transactions", { schema: "trx" })
|
@Entity("trx_transactions", { schema: "trx" })
|
||||||
export class TrxTransaction {
|
export class TrxTransaction {
|
||||||
@ -121,15 +122,6 @@ export class TrxTransaction {
|
|||||||
})
|
})
|
||||||
settlement_file: string;
|
settlement_file: string;
|
||||||
|
|
||||||
@Column({
|
|
||||||
nullable: true,
|
|
||||||
length: 256,
|
|
||||||
})
|
|
||||||
mt103_file: string;
|
|
||||||
|
|
||||||
@Column({ nullable: true, length: 256 })
|
|
||||||
teller_reference_number: string;
|
|
||||||
|
|
||||||
@Column({ nullable: true, length: 256 })
|
@Column({ nullable: true, length: 256 })
|
||||||
settlemented_by: string;
|
settlemented_by: string;
|
||||||
|
|
||||||
@ -158,6 +150,22 @@ export class TrxTransaction {
|
|||||||
})
|
})
|
||||||
remark: string;
|
remark: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 256,
|
||||||
|
})
|
||||||
|
mt103_file: string;
|
||||||
|
|
||||||
|
@Column({ nullable: true, length: 256 })
|
||||||
|
teller_reference_number: string;
|
||||||
|
|
||||||
|
@ManyToOne(() => TrxPurposes, { onDelete: "NO ACTION", nullable: true })
|
||||||
|
@JoinColumn()
|
||||||
|
purpose: TrxPurposes;
|
||||||
|
|
||||||
|
@Column({ nullable: true, length: 256 })
|
||||||
|
purpose_label: string;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
created_at: Date;
|
created_at: Date;
|
||||||
|
|||||||
Reference in New Issue
Block a user