update
This commit is contained in:
54
src/entity/trx_config_rate.ts
Normal file
54
src/entity/trx_config_rate.ts
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||||
|
|
||||||
|
import { Status } from "../types/status";
|
||||||
|
|
||||||
|
@Entity("trx_config_rates", { schema: "trx" })
|
||||||
|
export class TrxConfigRate {
|
||||||
|
@PrimaryGeneratedColumn("uuid")
|
||||||
|
id: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 256,
|
||||||
|
})
|
||||||
|
from: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 256,
|
||||||
|
})
|
||||||
|
to: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
type: "float8",
|
||||||
|
})
|
||||||
|
value: Number;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
length: 64,
|
||||||
|
})
|
||||||
|
status: Status;
|
||||||
|
|
||||||
|
@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;
|
||||||
|
}
|
||||||
@ -20,6 +20,8 @@ export * from "../entity/trx_config_levels";
|
|||||||
export * from "../entity/trx_config_occupations";
|
export * from "../entity/trx_config_occupations";
|
||||||
export * from "../entity/trx_config_products";
|
export * from "../entity/trx_config_products";
|
||||||
export * from "../entity/trx_config_purposes";
|
export * from "../entity/trx_config_purposes";
|
||||||
|
export * from "../entity/trx_config_language";
|
||||||
|
export * from "../entity/trx_config_rate";
|
||||||
export * from "../entity/trx_config_relations";
|
export * from "../entity/trx_config_relations";
|
||||||
export * from "../entity/trx_config_religions";
|
export * from "../entity/trx_config_religions";
|
||||||
export * from "../entity/trx_config_source_incomes";
|
export * from "../entity/trx_config_source_incomes";
|
||||||
@ -39,5 +41,4 @@ export * from "../entity/trx_transactions";
|
|||||||
export * from "../entity/trx_transaction_swift";
|
export * from "../entity/trx_transaction_swift";
|
||||||
export * from "../entity/trx_sender_swift";
|
export * from "../entity/trx_sender_swift";
|
||||||
export * from "../entity/trx_recepient_swift";
|
export * from "../entity/trx_recepient_swift";
|
||||||
export * from "../entity/trx_config_language";
|
|
||||||
export * from "../types/trx";
|
export * from "../types/trx";
|
||||||
|
|||||||
Reference in New Issue
Block a user