update
This commit is contained in:
@ -10,6 +10,8 @@ import { RemitConfigOccupation } from "./remit_config_occupations";
|
|||||||
import { RemitGender, RemitIdentityType, RemitSenderType } from "../types/remit";
|
import { RemitGender, RemitIdentityType, RemitSenderType } from "../types/remit";
|
||||||
import { RemitConfigSourceIncome } from "./remit_config_source_incomes";
|
import { RemitConfigSourceIncome } from "./remit_config_source_incomes";
|
||||||
import { RemitConfigBank } from "./remit_config_banks";
|
import { RemitConfigBank } from "./remit_config_banks";
|
||||||
|
import { RemitIndoProvince } from "./remit_indo_provinces";
|
||||||
|
import { RemitIndoCity } from "./remit_indo_cities";
|
||||||
|
|
||||||
@Entity("remit_beneficiaries", { schema: "remits" })
|
@Entity("remit_beneficiaries", { schema: "remits" })
|
||||||
export class RemitBeneficiary {
|
export class RemitBeneficiary {
|
||||||
@ -44,6 +46,14 @@ export class RemitBeneficiary {
|
|||||||
})
|
})
|
||||||
address: string;
|
address: string;
|
||||||
|
|
||||||
|
@ManyToOne(() => RemitIndoProvince, { onDelete: "NO ACTION", nullable: true })
|
||||||
|
@JoinColumn()
|
||||||
|
province: RemitIndoProvince;
|
||||||
|
|
||||||
|
@ManyToOne(() => RemitIndoCity, { onDelete: "NO ACTION", nullable: true })
|
||||||
|
@JoinColumn()
|
||||||
|
city: RemitIndoCity;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
length: 256,
|
length: 256,
|
||||||
@ -66,7 +76,7 @@ export class RemitBeneficiary {
|
|||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
created_at: Date;
|
created_at: Date;
|
||||||
|
|
||||||
@Column({ nullable: true, length: 256, })
|
@Column({ nullable: true, length: 256 })
|
||||||
created_by: string;
|
created_by: string;
|
||||||
|
|
||||||
@Column({ nullable: true })
|
@Column({ nullable: true })
|
||||||
|
|||||||
@ -95,6 +95,27 @@ export class RemitTransaction {
|
|||||||
@Column({ nullable: true, length: 256 })
|
@Column({ nullable: true, length: 256 })
|
||||||
approved_by: string;
|
approved_by: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 4096,
|
||||||
|
})
|
||||||
|
note: String;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 4096,
|
||||||
|
})
|
||||||
|
remark: String;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
type: "int2",
|
||||||
|
})
|
||||||
|
callback_count: Number;
|
||||||
|
|
||||||
|
@Column({ nullable: true })
|
||||||
|
callback_at: Date;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
created_at: Date;
|
created_at: Date;
|
||||||
|
|||||||
Reference in New Issue
Block a user