update
This commit is contained in:
47
src/entity/log_hikvision.ts
Normal file
47
src/entity/log_hikvision.ts
Normal file
@ -0,0 +1,47 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index } from 'typeorm';
|
||||
|
||||
import { Status } from '../types/status';
|
||||
|
||||
@Entity('log_hikvision')
|
||||
export class LogHikvision {
|
||||
@PrimaryGeneratedColumn('uuid')
|
||||
id: string;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@UpdateDateColumn()
|
||||
updated_at: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 128
|
||||
})
|
||||
type: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 4096
|
||||
})
|
||||
incoming: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 4096
|
||||
})
|
||||
request: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 128
|
||||
})
|
||||
url: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 4096
|
||||
})
|
||||
response: string;
|
||||
}
|
||||
@ -69,6 +69,7 @@ import { PaymentApproval } from "./entity/payment_approval";
|
||||
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";
|
||||
|
||||
export {
|
||||
User, //
|
||||
@ -148,5 +149,7 @@ export {
|
||||
CreditApplicationChat,
|
||||
CreditApplicationFileStatus,
|
||||
Application,
|
||||
TellerMutation
|
||||
TellerMutation,
|
||||
LogHikvision
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user