upadate
This commit is contained in:
53
src/entity/remit_banks.ts
Normal file
53
src/entity/remit_banks.ts
Normal file
@ -0,0 +1,53 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn } from "typeorm";
|
||||
|
||||
@Entity("remit_banks", { schema: "remits" })
|
||||
export class RemitBank {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
unique: false,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
unique: false,
|
||||
length: 256,
|
||||
})
|
||||
fullname: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
unique: false,
|
||||
length: 256,
|
||||
})
|
||||
formerly: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
unique: false,
|
||||
length: 256,
|
||||
})
|
||||
bank_code: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: String;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@UpdateDateColumn()
|
||||
updated_at: Date;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@DeleteDateColumn()
|
||||
deleted_at: Date;
|
||||
}
|
||||
10
src/index.ts
10
src/index.ts
@ -39,9 +39,9 @@ import { SummarizeLog } from "./entity/summarize_log";
|
||||
import { SummarizeLogStatus, SummarizeType } from "./types/summarize";
|
||||
import { TelegramBody, TelegramResponseSend } from "./types/telegram";
|
||||
import { Ledger } from "./entity/ledgers";
|
||||
import { BpaFormat } from "./entity/bpa_format"
|
||||
import { BpaLog } from "./entity/bpa_log"
|
||||
import { Bpa } from "./entity/bpa"
|
||||
import { BpaFormat } from "./entity/bpa_format";
|
||||
import { BpaLog } from "./entity/bpa_log";
|
||||
import { Bpa } from "./entity/bpa";
|
||||
import { CreditCompany } from "./entity/credit_companies";
|
||||
import { CreditDebtor } from "./entity/credit_debtors";
|
||||
import { CreditTypeForms } from "./entity/credit_type_forms";
|
||||
@ -76,7 +76,7 @@ import { AssetPurchaseGoodReceiptGood } from "./entity/asset_purchase_goods_rece
|
||||
import { AssetPurchaseRealization } from "./entity/asset_purchase_realization";
|
||||
import { AssetPurchaseBondRealizationGood } from "./entity/asset_purchase_purchase_bond_realization_good";
|
||||
import { AssetPurchaseInvoice } from "./entity/asset_purchase_invoice";
|
||||
import { AssetInventoryCondition } from "./types/asset"
|
||||
import { AssetInventoryCondition } from "./types/asset";
|
||||
import { AssetInventory } from "./entity/asset_inventories";
|
||||
import { AssetInventoryAttribute } from "./entity/asset_inventory_attributes";
|
||||
import { AssetInventoryHistory } from "./entity/asset_inventory_histories";
|
||||
@ -87,6 +87,7 @@ import { RemitRegion } from "./entity/remit_region";
|
||||
import { RemitTransfer } from "./entity/remit_tansfer";
|
||||
import { RemitTopup } from "./entity/remit_topup";
|
||||
import { RemitMutation } from "./entity/remit_mutation";
|
||||
import { RemitBank } from "./entity/remit_banks";
|
||||
|
||||
export {
|
||||
User, //
|
||||
@ -185,4 +186,5 @@ export {
|
||||
RemitTransfer,
|
||||
RemitTopup,
|
||||
RemitMutation,
|
||||
RemitBank,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user