update
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||||
import { TrxCurrency } from "./trx_currencies";
|
import { TrxCurrency } from "./trx_currencies";
|
||||||
import { TrxCurrencyRateType } from "../types/trx";
|
import { TrxCurrencyRateType } from "../types/trx";
|
||||||
|
import { Status } from "../types/status";
|
||||||
|
|
||||||
@Entity("trx_currency_rates", { schema: "trx" })
|
@Entity("trx_currency_rates", { schema: "trx" })
|
||||||
export class TrxCurrencyRate {
|
export class TrxCurrencyRate {
|
||||||
@ -32,6 +33,13 @@ export class TrxCurrencyRate {
|
|||||||
})
|
})
|
||||||
deal_code: string;
|
deal_code: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
length: 64,
|
||||||
|
default: Status.Active,
|
||||||
|
})
|
||||||
|
status: Status;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
created_at: Date;
|
created_at: Date;
|
||||||
|
|||||||
Reference in New Issue
Block a user