update
This commit is contained in:
57
src/entity/credit_config.ts
Normal file
57
src/entity/credit_config.ts
Normal file
@ -0,0 +1,57 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from 'typeorm';
|
||||
|
||||
import { Status } from '../types/status';
|
||||
|
||||
@Entity('credit_configs')
|
||||
export class CreditConfigs {
|
||||
@PrimaryGeneratedColumn('uuid')
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 256
|
||||
})
|
||||
code: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 256
|
||||
})
|
||||
param: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: 'int2'
|
||||
})
|
||||
order_number: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 4096
|
||||
})
|
||||
value: string;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256
|
||||
})
|
||||
created_by: string;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@UpdateDateColumn()
|
||||
updated_at: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256
|
||||
})
|
||||
updated_by: string;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@DeleteDateColumn()
|
||||
deleted_at: Date;
|
||||
}
|
||||
@ -70,6 +70,7 @@ import { FinanceMemo } from "./entity/finance_memo";
|
||||
import { BankGaransiPending } from "./entity/bank_garansi_pending";
|
||||
import { TellerMutation } from "./entity/teller_mutation";
|
||||
import { LogHikvision } from "./entity/log_hikvision";
|
||||
import { CreditConfigs } from "./entity/credit_config";
|
||||
|
||||
export {
|
||||
User, //
|
||||
@ -150,6 +151,6 @@ export {
|
||||
CreditApplicationFileStatus,
|
||||
Application,
|
||||
TellerMutation,
|
||||
LogHikvision
|
||||
|
||||
LogHikvision,
|
||||
CreditConfigs
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user