This commit is contained in:
fro1991
2025-10-22 03:37:46 +07:00
parent 547a3b95f5
commit 1ed66900db
2 changed files with 15 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import { TrxReceiver } from "./trx_receivers";
import { TrxCurrencyRate } from "./trx_currency_rates"; import { TrxCurrencyRate } from "./trx_currency_rates";
import { TrxCustomerCost } from "./trx_customer_costs"; 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, TrxTransactionRemark, TrxTransactionStatus, TrxTransactionType } from "../types/trx";
import { TrxVerification } from "./trx_verifications"; import { TrxVerification } from "./trx_verifications";
@Entity("trx_transactions", { schema: "trx" }) @Entity("trx_transactions", { schema: "trx" })
@ -147,7 +147,7 @@ export class TrxTransaction {
nullable: true, nullable: true,
length: 256, length: 256,
}) })
remark: string; remark: TrxTransactionRemark;
@Column() @Column()
@CreateDateColumn() @CreateDateColumn()

View File

@ -67,4 +67,17 @@ export enum TrxTransactionStatus {
"cancel" = "cancel", "cancel" = "cancel",
} }
export enum TrxTransactionRemark {
"Draft" = "draft",
"Create" = "create",
"Pending Approval Checker" = "pending_checker",
"Pending Approval Signer" = "pending_signer",
"Deal Request Process" = "process_deal_request",
"Deal Approve Process" = "process_deal_approve",
"Settlement on Process" = "process_settlement",
"Success" = "success",
"Reject" = "reject",
"Cancel" = "cancel",
}
//// ////