update
This commit is contained in:
@ -1,42 +1,54 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm"
|
||||
|
||||
import { Status } from "../types/status";
|
||||
import { Status } from "../types/status"
|
||||
|
||||
@Entity("remit_config_kurs", { schema: "remits" })
|
||||
export class RemitConfigKurs {
|
||||
@Entity("remit_config_rates", { schema: "remits" })
|
||||
export class RemitConfigRate {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
id: string
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
value: string;
|
||||
from: string
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
to: string
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
value: string
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
status: Status
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
created_at: Date
|
||||
|
||||
@Column({ nullable: true, length: 256, })
|
||||
created_by: string;
|
||||
@Column({ nullable: true, length: 256 })
|
||||
created_by: string
|
||||
|
||||
@Column({ nullable: true })
|
||||
@UpdateDateColumn()
|
||||
updated_at: Date;
|
||||
updated_at: Date
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
updated_by: string;
|
||||
updated_by: string
|
||||
|
||||
@Column({ nullable: true })
|
||||
@DeleteDateColumn()
|
||||
deleted_at: Date;
|
||||
deleted_at: Date
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
deleted_by: string
|
||||
}
|
||||
@ -92,7 +92,7 @@ import { RemitBeneficial } from "./entity/remit_beneficials"
|
||||
import { RemitBeneficiary } from "./entity/remit_beneficiaries"
|
||||
import { RemitConfigBank } from "./entity/remit_config_banks"
|
||||
import { RemitConfigBusinessType } from "./entity/remit_config_business_types"
|
||||
import { RemitConfigKurs } from "./entity/remit_config_kurs"
|
||||
import { RemitConfigRate } from "./entity/remit_config_rates"
|
||||
import { RemitConfigNationalities } from "./entity/remit_config_nationalities"
|
||||
import { RemitConfigOccupation } from "./entity/remit_config_occupations"
|
||||
import { RemitConfigPurpose } from "./entity/remit_config_purposes"
|
||||
@ -355,7 +355,7 @@ export {
|
||||
RemitBeneficiary,
|
||||
RemitConfigBank,
|
||||
RemitConfigBusinessType,
|
||||
RemitConfigKurs,
|
||||
RemitConfigRate,
|
||||
RemitConfigNationalities,
|
||||
RemitConfigOccupation,
|
||||
RemitConfigPurpose,
|
||||
|
||||
Reference in New Issue
Block a user