This commit is contained in:
fro1991
2025-02-02 12:22:40 +07:00
parent 02a0377840
commit c6cd286fc2
2 changed files with 60 additions and 2 deletions

View 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;
}

View File

@ -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
};