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