update
This commit is contained in:
@ -16,14 +16,12 @@ export class TrxCustomerUserSignature {
|
||||
customer_user: TrxCustomerUser;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
type: "text",
|
||||
})
|
||||
signature_image: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 256,
|
||||
type: "text",
|
||||
})
|
||||
signature_hash: string;
|
||||
|
||||
|
||||
53
src/entity/trx_transaction_signatures.ts
Normal file
53
src/entity/trx_transaction_signatures.ts
Normal file
@ -0,0 +1,53 @@
|
||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||
import { TrxTransaction } from "./trx_transactions";
|
||||
|
||||
@Entity("trx_transaction_signatures", { schema: "trx" })
|
||||
export class TrxTransactionSignature {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => TrxTransaction, { onDelete: "NO ACTION" })
|
||||
@JoinColumn()
|
||||
transaction: TrxTransaction;
|
||||
|
||||
@Column({
|
||||
type: "text",
|
||||
})
|
||||
customer_user_signature_image: string;
|
||||
|
||||
@Column({
|
||||
type: "text",
|
||||
})
|
||||
customer_user_signature_hash: string;
|
||||
|
||||
@Column({
|
||||
type: "text",
|
||||
})
|
||||
document_signature: string;
|
||||
|
||||
@Column({
|
||||
type: "text",
|
||||
})
|
||||
qr_code: 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;
|
||||
}
|
||||
@ -19,4 +19,5 @@ export * from "../entity/trx_receivers";
|
||||
export * from "../entity/trx_transactions";
|
||||
export * from "../entity/trx_transaction_slas";
|
||||
export * from "../entity/trx_transaction_amls";
|
||||
export * from "../entity/trx_transaction_signatures";
|
||||
export * from "../types/trx";
|
||||
|
||||
Reference in New Issue
Block a user