update
This commit is contained in:
43
src/entity/remit_mutation.ts
Normal file
43
src/entity/remit_mutation.ts
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn } from "typeorm";
|
||||||
|
|
||||||
|
@Entity("remit_mutation", { schema: "remits" })
|
||||||
|
export class RemitMutation {
|
||||||
|
@PrimaryGeneratedColumn("uuid")
|
||||||
|
id: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
length: 256,
|
||||||
|
})
|
||||||
|
refId: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
length: 256,
|
||||||
|
})
|
||||||
|
type: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
length: 256,
|
||||||
|
})
|
||||||
|
amount: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
length: 256,
|
||||||
|
})
|
||||||
|
status: string;
|
||||||
|
|
||||||
|
@Column()
|
||||||
|
@CreateDateColumn()
|
||||||
|
created_at: Date;
|
||||||
|
|
||||||
|
@Column({ nullable: true })
|
||||||
|
@UpdateDateColumn()
|
||||||
|
updated_at: Date;
|
||||||
|
|
||||||
|
@Column({ nullable: true })
|
||||||
|
@DeleteDateColumn()
|
||||||
|
deleted_at: Date;
|
||||||
|
}
|
||||||
@ -79,6 +79,7 @@ import { RemitPartner } from "./entity/remit_partners";
|
|||||||
import { RemitRegion } from "./entity/remit_region";
|
import { RemitRegion } from "./entity/remit_region";
|
||||||
import { RemitTransfer } from "./entity/remit_tansfer";
|
import { RemitTransfer } from "./entity/remit_tansfer";
|
||||||
import { RemitTopup } from "./entity/remit_topup";
|
import { RemitTopup } from "./entity/remit_topup";
|
||||||
|
import { RemitMutation } from "./entity/remit_mutation";
|
||||||
|
|
||||||
export {
|
export {
|
||||||
User, //
|
User, //
|
||||||
@ -169,4 +170,5 @@ export {
|
|||||||
RemitRegion,
|
RemitRegion,
|
||||||
RemitTransfer,
|
RemitTransfer,
|
||||||
RemitTopup,
|
RemitTopup,
|
||||||
|
RemitMutation,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user