Merge branch 'main' of https://git.shiblysolution.id/BRITL/entity
This commit is contained in:
66
src/entity/compliance_appendix_categories.ts
Normal file
66
src/entity/compliance_appendix_categories.ts
Normal file
@ -0,0 +1,66 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("compliance_appendix_categories", { schema: "compliances" })
|
||||
export class ComplianceAppendixCategory {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
code: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
label_in: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
label_tt: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
label_en: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
48
src/entity/compliance_appendix_item_references.ts
Normal file
48
src/entity/compliance_appendix_item_references.ts
Normal file
@ -0,0 +1,48 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
import { ComplianceAppendixCategory } from "./compliance_appendix_categories";
|
||||
import { ComplianceAppendixItem } from "./compliance_appendix_items";
|
||||
|
||||
@Entity("compliance_appendix_item_references", { schema: "compliances" })
|
||||
export class ComplianceAppendixItemReference {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => ComplianceAppendixItem, { onDelete: "RESTRICT" })
|
||||
@JoinColumn()
|
||||
appendix_item: ComplianceAppendixItem;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
label: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
81
src/entity/compliance_appendix_items.ts
Normal file
81
src/entity/compliance_appendix_items.ts
Normal file
@ -0,0 +1,81 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
import { ComplianceAppendixCategory } from "./compliance_appendix_categories";
|
||||
|
||||
@Entity("compliance_appendix_items", { schema: "compliances" })
|
||||
export class ComplianceAppendixItem {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => ComplianceAppendixCategory, { onDelete: "RESTRICT" })
|
||||
@JoinColumn()
|
||||
appendix_category: ComplianceAppendixCategory;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
code: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
label_in: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
label_tt: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
label_en: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 4096,
|
||||
})
|
||||
description: string;
|
||||
|
||||
@ManyToOne(() => ComplianceAppendixItem, { onDelete: "RESTRICT" })
|
||||
@JoinColumn()
|
||||
parent: ComplianceAppendixItem;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
66
src/entity/compliance_risk_levels.ts
Normal file
66
src/entity/compliance_risk_levels.ts
Normal file
@ -0,0 +1,66 @@
|
||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { Application } from "./application";
|
||||
import { ComplianceAppendixItem } from "./compliance_appendix_items";
|
||||
|
||||
@Entity("compliance_risk_levels", { schema: "compliances" })
|
||||
export class ComplianceRiskLevel {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => Application, { onDelete: "RESTRICT" })
|
||||
@JoinColumn()
|
||||
application: Application;
|
||||
|
||||
@ManyToOne(() => ComplianceAppendixItem, { onDelete: "RESTRICT" })
|
||||
@JoinColumn()
|
||||
appendix_item: ComplianceAppendixItem;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
param: string;
|
||||
|
||||
@Column({ type: "float8", nullable: true })
|
||||
param_min: Number;
|
||||
|
||||
@Column({ type: "float8", nullable: true })
|
||||
param_max: Number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
param_unit: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
52
src/entity/eform_accounts.ts
Normal file
52
src/entity/eform_accounts.ts
Normal file
@ -0,0 +1,52 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
import { EformCif } from "./eform_cifs";
|
||||
import { EformRequest } from "./eform_requests";
|
||||
|
||||
@Entity("eform_accounts", { schema: "eforms" })
|
||||
export class EformAccount {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => EformRequest, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
request: EformRequest;
|
||||
|
||||
@ManyToOne(() => EformCif, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
cif: EformCif;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
48
src/entity/eform_cifs.ts
Normal file
48
src/entity/eform_cifs.ts
Normal file
@ -0,0 +1,48 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
import { Branch } from "./branchs";
|
||||
|
||||
@Entity("eform_cifs", { schema: "eforms" })
|
||||
export class EformCif {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
number: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
})
|
||||
generated_at: Date;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_booms.ts
Normal file
49
src/entity/eform_config_booms.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_booms", { schema: "eforms" })
|
||||
export class EformConfigBoom {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_business_entities.ts
Normal file
49
src/entity/eform_config_business_entities.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_business_entities", { schema: "eforms" })
|
||||
export class EformConfigBusinessEntity {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_business_fields.ts
Normal file
49
src/entity/eform_config_business_fields.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_business_fields", { schema: "eforms" })
|
||||
export class EformConfigBusinessField {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_channels.ts
Normal file
49
src/entity/eform_config_channels.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_channels", { schema: "eforms" })
|
||||
export class EformConfigChannel {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_educations.ts
Normal file
49
src/entity/eform_config_educations.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_educations", { schema: "eforms" })
|
||||
export class EformConfigEducation {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_identity_types.ts
Normal file
49
src/entity/eform_config_identity_types.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_identity_types", { schema: "eforms" })
|
||||
export class EformConfigIdentityType {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_maritals.ts
Normal file
49
src/entity/eform_config_maritals.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_maritals", { schema: "eforms" })
|
||||
export class EformConfigMarital {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
44
src/entity/eform_config_munisipos.ts
Normal file
44
src/entity/eform_config_munisipos.ts
Normal file
@ -0,0 +1,44 @@
|
||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||
|
||||
import { Status } from "../types/status";
|
||||
import { EformRegionMunisipo } from "./eform_region_munisipos";
|
||||
|
||||
@Entity("remit_config_munisipos", { schema: "eforms" })
|
||||
export class EformConfigMunisipo {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => EformRegionMunisipo, { onDelete: "RESTRICT" })
|
||||
@JoinColumn()
|
||||
munisipo: EformRegionMunisipo;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_nationalities.ts
Normal file
49
src/entity/eform_config_nationalities.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_nationalities", { schema: "eforms" })
|
||||
export class EformConfigNationality {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_occupations.ts
Normal file
49
src/entity/eform_config_occupations.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_occupations", { schema: "eforms" })
|
||||
export class EformConfigOccupation {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_products.ts
Normal file
49
src/entity/eform_config_products.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_products", { schema: "eforms" })
|
||||
export class EformConfigProduct {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_purposes.ts
Normal file
49
src/entity/eform_config_purposes.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_purposes", { schema: "eforms" })
|
||||
export class EformConfigPurpose {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_relations.ts
Normal file
49
src/entity/eform_config_relations.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_relations", { schema: "eforms" })
|
||||
export class EformConfigRelation {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_religions.ts
Normal file
49
src/entity/eform_config_religions.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_religions", { schema: "eforms" })
|
||||
export class EformConfigReligion {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_source_incomes.ts
Normal file
49
src/entity/eform_config_source_incomes.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_source_incomes", { schema: "eforms" })
|
||||
export class EformConfigSourceIncome {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
49
src/entity/eform_config_strs.ts
Normal file
49
src/entity/eform_config_strs.ts
Normal file
@ -0,0 +1,49 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { EformLanguage } from "./eform_languages";
|
||||
|
||||
@Entity("eform_config_strs", { schema: "eforms" })
|
||||
export class EformConfigStr {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({ type: "smallint", default: 0 })
|
||||
level: Number;
|
||||
|
||||
@ManyToOne(() => EformLanguage, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
language: EformLanguage;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
63
src/entity/eform_languages.ts
Normal file
63
src/entity/eform_languages.ts
Normal file
@ -0,0 +1,63 @@
|
||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||
|
||||
import { Status } from "../types/status";
|
||||
|
||||
@Entity("eform_languages", { schema: "eforms" })
|
||||
export class EformLanguage {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 128,
|
||||
})
|
||||
code: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 4096,
|
||||
default: "",
|
||||
})
|
||||
eng: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 4096,
|
||||
default: "",
|
||||
})
|
||||
tet: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 4096,
|
||||
default: "",
|
||||
})
|
||||
ind: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: Status;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
|
||||
@Column({ type: "varchar", length: 255 })
|
||||
created_by: string;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@UpdateDateColumn()
|
||||
updated_at: Date;
|
||||
|
||||
@Column({ type: "varchar", length: 255, nullable: true })
|
||||
updated_by: string;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@DeleteDateColumn()
|
||||
deleted_at: Date;
|
||||
|
||||
@Column({ type: "varchar", length: 255, nullable: true })
|
||||
deleted_by: string;
|
||||
}
|
||||
39
src/entity/eform_region_administrativus.ts
Normal file
39
src/entity/eform_region_administrativus.ts
Normal file
@ -0,0 +1,39 @@
|
||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||
import { EformRegionMunisipo } from "./eform_region_munisipos";
|
||||
|
||||
@Entity("eform_region_administrativus", { schema: "eforms" })
|
||||
export class EformRegionAdministrativu {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => EformRegionMunisipo, { onDelete: "NO ACTION" })
|
||||
@JoinColumn()
|
||||
munisipo: EformRegionMunisipo;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: 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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
39
src/entity/eform_region_aldeias.ts
Normal file
39
src/entity/eform_region_aldeias.ts
Normal file
@ -0,0 +1,39 @@
|
||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||
import { EformRegionSuco } from "./eform_region_sucos";
|
||||
|
||||
@Entity("eform_region_aldeias", { schema: "eforms" })
|
||||
export class EformRegionAldeia {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => EformRegionSuco, { onDelete: "NO ACTION" })
|
||||
@JoinColumn()
|
||||
suco: EformRegionSuco;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: 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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
35
src/entity/eform_region_munisipos.ts
Normal file
35
src/entity/eform_region_munisipos.ts
Normal file
@ -0,0 +1,35 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
|
||||
@Entity("eform_region_munisipos", { schema: "eforms" })
|
||||
export class EformRegionMunisipo {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: 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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
41
src/entity/eform_region_sucos.ts
Normal file
41
src/entity/eform_region_sucos.ts
Normal file
@ -0,0 +1,41 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, ManyToOne, JoinColumn } from "typeorm";
|
||||
import { Status } from "../types/status";
|
||||
import { RemitMunisipo } from "./remit_munisipos";
|
||||
import { EformRegionAdministrativu } from "./eform_region_administrativus";
|
||||
|
||||
@Entity("eform_region_sucos", { schema: "eforms" })
|
||||
export class EformRegionSuco {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => EformRegionAdministrativu, { onDelete: "NO ACTION" })
|
||||
@JoinColumn()
|
||||
administrativu: EformRegionAdministrativu;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
name: 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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
104
src/entity/eform_requests.ts
Normal file
104
src/entity/eform_requests.ts
Normal file
@ -0,0 +1,104 @@
|
||||
import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
|
||||
import { EformRequestRequestorType, EformRequestSourceType, EformRequestStatusType } from "../types/eform";
|
||||
import { Branch } from "./branchs";
|
||||
import { EformAccount } from "./eform_accounts";
|
||||
import { EformCif } from "./eform_cifs";
|
||||
|
||||
@Entity("eform_requests", { schema: "eforms" })
|
||||
export class EformRequest {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 256,
|
||||
})
|
||||
code: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
source: EformRequestSourceType;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 4096,
|
||||
})
|
||||
name: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 128,
|
||||
})
|
||||
phone: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
requestor_type: EformRequestRequestorType;
|
||||
|
||||
@ManyToOne(() => EformAccount, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
account: EformAccount;
|
||||
|
||||
@ManyToOne(() => EformCif, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
cif: EformCif;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
length: 64,
|
||||
})
|
||||
status: EformRequestStatusType;
|
||||
|
||||
@Column({ nullable: true })
|
||||
requested_at: Date;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
requested_by: string;
|
||||
|
||||
@ManyToOne(() => Branch, { onDelete: "RESTRICT", nullable: true })
|
||||
@JoinColumn()
|
||||
branch: Branch;
|
||||
|
||||
@Column({ nullable: true })
|
||||
opened_at: Date;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
opened_by: string;
|
||||
|
||||
@Column({ nullable: true })
|
||||
processed_at: Date;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
processed_by: string;
|
||||
|
||||
@Column({ nullable: true })
|
||||
closed_at: Date;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
closed_by: 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;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
447
src/index.ts
447
src/index.ts
@ -1,435 +1,12 @@
|
||||
import { CifAccount } from "./entity/cif_account";
|
||||
import { LNKOLEK } from "./entity/lnkolek";
|
||||
import { TrialBalanceBranch } from "./entity/trial_balance_branch";
|
||||
import { TrialBalanceConsolidation } from "./entity/trial_balance_consolidation";
|
||||
import { UserActivity } from "./entity/user_activity";
|
||||
import { UserRefreshToken } from "./entity/user_refresh_token";
|
||||
import { User } from "./entity/users";
|
||||
import { UserRole } from "./entity/users_roles";
|
||||
import { ActivityType, ActivityTypeReverse } from "./types/action";
|
||||
import { ErrorType, ErrorValidation } from "./types/error";
|
||||
import { Paging } from "./types/paging";
|
||||
import { RoleList } from "./types/role";
|
||||
import { Status } from "./types/status";
|
||||
import { EmailBody } from "./types/email";
|
||||
import { Branch } from "./entity/branchs";
|
||||
import { Product } from "./entity/products";
|
||||
import { Menu } from "./entity/menu";
|
||||
import { Administrativu } from "./entity/administrativu";
|
||||
import { Aldeia } from "./entity/aldeia";
|
||||
import { ClassEconomi } from "./entity/class_economi";
|
||||
import { District } from "./entity/district";
|
||||
import { IncomeTier } from "./entity/income_tier";
|
||||
import { Munisipo } from "./entity/munisipo";
|
||||
import { Suco } from "./entity/suco";
|
||||
import { LogPull } from "./entity/log_pull";
|
||||
import { LogPullType, StatusLogPull, TellerCode } from "./types/pull";
|
||||
import { Category } from "./entity/categories";
|
||||
import { CategorySource } from "./types/category_source";
|
||||
import { PullerStatus } from "./entity/puller_status";
|
||||
import { Target } from "./entity/targets";
|
||||
import { BankGaransi } from "./entity/bank_garansi";
|
||||
import { BankGaransiType } from "./entity/bank_garansi_type";
|
||||
import { BankGaransiStatus } from "./entity/bank_garansi_status";
|
||||
import { BankGaransiPending } from "./entity/bank_garansi_pending";
|
||||
import { BankGaransiPic } from "./entity/bank_garansi_pic";
|
||||
import { CategoryType } from "./types/category";
|
||||
import { Summarize } from "./entity/summarizes";
|
||||
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 { CreditCompany } from "./entity/credit_companies";
|
||||
import { CreditDebtor } from "./entity/credit_debtors";
|
||||
import { CreditTypeForms } from "./entity/credit_type_forms";
|
||||
import { CreditApplication } from "./entity/credit_applications";
|
||||
import { CreditApplicationFileStatus, CreditApplicationStatus } from "./types/credit";
|
||||
import { CreditApplicationForm } from "./entity/credit_application_forms";
|
||||
import { CreditCompanyUser } from "./entity/credit_company_users";
|
||||
import { CreditCompanyUserRefreshToken } from "./entity/credit_company_user_refresh_token";
|
||||
import { CreditApplicationChat } from "./entity/credit_application_chats";
|
||||
import { CreditConfigs } from "./entity/credit_config";
|
||||
import { CreditConfigInsurance } from "./entity/credit_config_insurance";
|
||||
import { Application } from "./entity/application";
|
||||
import { TellerMutation } from "./entity/teller_mutation";
|
||||
import { LogHikvision } from "./entity/log_hikvision";
|
||||
import { BrivaCompany } from "./entity/briva_companies";
|
||||
import { BrivaCompanyUser } from "./entity/briva_company_users";
|
||||
import { BrivaCompanyUserRefreshToken } from "./entity/briva_company_user_refresh_token";
|
||||
import { BrivaAccount } from "./entity/briva_accounts";
|
||||
import { BrivaTransaction } from "./entity/briva_transactions";
|
||||
import { BrivaCompanyAccountLabel } from "./entity/briva_company_account_labels";
|
||||
import { BrivaAccountLabel } from "./entity/briva_account_labels";
|
||||
|
||||
import { AssetSupplier } from "./entity/asset_supplier";
|
||||
import { AssetFixedClassification } from "./entity/asset_fixed_classification";
|
||||
import { AssetFixedType } from "./entity/asset_fixed_type";
|
||||
import { AssetGoodCategory } from "./entity/asset_good_category";
|
||||
import { AssetGood } from "./entity/asset_good";
|
||||
import { AssetRequestOrderCategory } from "./entity/asset_request_order_category";
|
||||
import { AssetRequestOrder } from "./entity/asset_request_order";
|
||||
import { AssetRequestOrderGood } from "./entity/asset_request_order_good";
|
||||
import { AssetPurchase } from "./entity/asset_purchase";
|
||||
import { AssetPurchaseRequestOrder } from "./entity/asset_purchase_request_order";
|
||||
import { AssetPurchaseGoodsReceipt } from "./entity/asset_purchase_goods_receipt";
|
||||
import { AssetPurchaseGoodReceiptGood } from "./entity/asset_purchase_goods_receipt_good";
|
||||
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, AssetFixedTypeType } from "./types/asset";
|
||||
import { AssetInventory } from "./entity/asset_inventories";
|
||||
import { AssetInventoryAttribute } from "./entity/asset_inventory_attributes";
|
||||
import { AssetInventoryHistory } from "./entity/asset_inventory_histories";
|
||||
import { AssetInventoryDepreciation } from "./entity/asset_inventory_depreciations";
|
||||
import { AssetInventoryDepreciationLog } from "./entity/asset_inventory_depreciation_logs";
|
||||
|
||||
import { RemitMunisipo } from "./entity/remit_munisipos";
|
||||
import { RemitAdministrativu } from "./entity/remit_administrativus";
|
||||
import { RemitSuco } from "./entity/remit_sucos";
|
||||
import { RemitAldeia } from "./entity/remit_aldeias";
|
||||
import { RemitBeneficial } from "./entity/remit_beneficials";
|
||||
import { RemitBeneficiary } from "./entity/remit_beneficiaries";
|
||||
import { RemitConfigBank } from "./entity/remit_config_banks";
|
||||
import { RemitConfigBusinessType } from "./entity/remit_config_business_types";
|
||||
import { RemitConfigRate } from "./entity/remit_config_rates";
|
||||
import { RemitConfigNationalities } from "./entity/remit_config_nationalities";
|
||||
import { RemitConfigOccupation } from "./entity/remit_config_occupations";
|
||||
import { RemitConfigPurpose } from "./entity/remit_config_purposes";
|
||||
import { RemitConfigSourceIncome } from "./entity/remit_config_source_incomes";
|
||||
import { RemitConfigEpp } from "./entity/remit_config_epp";
|
||||
import { RemitPartnerAccounts } from "./entity/remit_partner_accounts";
|
||||
import { RemitPartnerApi } from "./entity/remit_partner_apis";
|
||||
import { RemitPartnerDocument } from "./entity/remit_partner_documents";
|
||||
import { RemitPartnerFee } from "./entity/remit_partner_fees";
|
||||
import { RemitPartnerOwners } from "./entity/remit_partner_owners";
|
||||
import { RemitPartnerUser } from "./entity/remit_partner_users";
|
||||
import { RemitPartnerUserRefreshToken } from "./entity/remit_partner_user_refresh_token";
|
||||
import { RemitPartner } from "./entity/remit_partners";
|
||||
import { RemitSender } from "./entity/remit_senders";
|
||||
import { RemitSenderIdentity } from "./entity/remit_sender_identities";
|
||||
import { RemitTransaction } from "./entity/remit_transactions";
|
||||
import { RemitConfigRelation } from "./entity/remit_config_relations";
|
||||
import { RemitConfigBusinessField } from "./entity/remit_config_business_fields";
|
||||
import { RemitConfigMunisipo } from "./entity/remit_config_munisipos";
|
||||
import { RemitConfigBeneficiaryProvince } from "./entity/remit_config_beneficiary_provinces";
|
||||
import { RemitConfigTransactionType } from "./entity/remit_config_transaction_types";
|
||||
import { RemitConfigChannel } from "./entity/remit_config_channels";
|
||||
import { RemitConfigTransactionInfo } from "./entity/remit_config_transaction_infos";
|
||||
import { RemitConfigBoom } from "./entity/remit_config_booms";
|
||||
import { RemitConfigTransactionChannel } from "./entity/remit_config_transaction_channels";
|
||||
import { RemitIndoProvince } from "./entity/remit_indo_provinces";
|
||||
import { RemitIndoCity } from "./entity/remit_indo_cities";
|
||||
import { RemitPartnerCallback } from "./entity/remit_partner_callbacks";
|
||||
import { RemitTransactionPartnerCallbackLog } from "./entity/remit_transaction_partner_callback_logs";
|
||||
import { RemitTransactionRisk } from "./entity/remit_transaction_risk";
|
||||
|
||||
import {
|
||||
RemitPartnerType, //
|
||||
RemitPartnerStatus,
|
||||
RemitRiskLevel,
|
||||
RemitGender,
|
||||
RemitIdentityType,
|
||||
RemitDocumentType,
|
||||
RemitPartnerFeeType,
|
||||
RemitSenderType,
|
||||
RemitTransactionStatus,
|
||||
RemitTransactionCurrencyType,
|
||||
} from "./types/remit";
|
||||
|
||||
import {
|
||||
BrizziBatchStatus, //
|
||||
BrizziCardStatus,
|
||||
BrizziHistoryActvity,
|
||||
BrizziHistoryType,
|
||||
BrizziHistoryRemarks,
|
||||
} from "./types/brizzi";
|
||||
|
||||
import { BrizziBatch } from "./entity/brizzi_batchs";
|
||||
import { BrizziCard } from "./entity/brizzi_cards";
|
||||
import { BrizziHistory } from "./entity/brizzi_history";
|
||||
import { BrizziOldCard } from "./entity/brizzi_old_card";
|
||||
import {
|
||||
BrilinkMerchantStatus, //
|
||||
BrilinkTerminalType,
|
||||
BrilinkTerminalCondition,
|
||||
BrilinkTerminalOnline,
|
||||
BrilinkBalanceType,
|
||||
BrilinkBalanceCode,
|
||||
BrilinkBalanceMutationType,
|
||||
BrilinkBalanceMutationActvity,
|
||||
BrilinkBalanceSourceType,
|
||||
BrilinkBalanceDestinationType,
|
||||
BrilinkBalanceMutationStatus,
|
||||
BrilinkTransactionType,
|
||||
BrilinkTransactionActivity,
|
||||
BrilinkTransactionStatus,
|
||||
BrilinkMerchantSettlementStatus,
|
||||
BrilinkTransactionCodePrefixType,
|
||||
BrilinkTransactionCodePrefixActivity,
|
||||
BrilinkBalanceMutationCodePrefixType,
|
||||
BrilinkBalanceMutationCodePrefixActvity,
|
||||
BrilinkBalanceTopupCodePrefix,
|
||||
BrilinkDiscountModule,
|
||||
BrilinkDiscountStatus,
|
||||
BrilinkDiscountType,
|
||||
BrilinkProductCategorySupplier,
|
||||
BrilinkMembershipCardStatus,
|
||||
BrilinkMembershipCardHistoryActvity,
|
||||
BrilinkMembershipCardRemarks,
|
||||
} from "./types/brilink";
|
||||
|
||||
import { BrilinkMerchant } from "./entity/brilink_merchants";
|
||||
import { BrilinkMerchantUser } from "./entity/brilink_merchant_users";
|
||||
import { BrilinkMerchantUserRefreshToken } from "./entity/brilink_merchant_user_refresh_token";
|
||||
import { BrilinkTerminal } from "./entity/brilink_terminals";
|
||||
import { BrilinkTerminalMenu } from "./entity/brilink_terminal_menus";
|
||||
import { BrilinkMerchantSite } from "./entity/brilink_merchant_sites";
|
||||
import { BrilinkMerchantTerminal } from "./entity/brilink_merchant_terminals";
|
||||
import { BrilinkMerchantTerminalHistory } from "./entity/brilink_merchant_terminal_histories";
|
||||
import { BrilinkMerchantTerminalMenu } from "./entity/brilink_merchant_terminal_menus";
|
||||
import { BrilinkMerchantTerminalUser } from "./entity/brilink_merchant_terminal_users";
|
||||
import { BrilinkMerchantTerminalUserRefreshToken } from "./entity/brilink_merchant_terminal_user_refresh_token";
|
||||
import { BrilinkBalance } from "./entity/brilink_balances.ts";
|
||||
import { BrilinkBalanceMutation } from "./entity/brilink_balance_mutations";
|
||||
import { BrilinkBalanceTopup } from "./entity/brilink_balance_topup";
|
||||
import { BrilinkTerminalLanguage } from "./entity/brilink_terminal_languages";
|
||||
import { BrilinkTransaction } from "./entity/brilink_transactions";
|
||||
import { BrilinkMerchantSettlement } from "./entity/brilink_merchant_settlements";
|
||||
import { BrilinkMembership } from "./entity/brilink_memberships";
|
||||
import { BrilinkMembershipCard } from "./entity/brilink_membership_cards";
|
||||
import { BrilinkDiscount } from "./entity/brilink_discounts";
|
||||
import { BrilinkProductCategory } from "./entity/brilink_product_categories";
|
||||
import { BrilinkProductType } from "./entity/brilink_product_types";
|
||||
import { BrilinkProductItem } from "./entity/brilink_product_items";
|
||||
import { BrilinkMerchantProductItem } from "./entity/brilink_merchant_product_items";
|
||||
import { BrilinkTransactionLog } from "./entity/brilink_transaction_logs";
|
||||
import { BrilinkMembershipCardHistory } from "./entity/brilink_membership_card_history";
|
||||
|
||||
import { BriapiConfig } from "./entity/briapi_configs";
|
||||
import { BriapiLog } from "./entity/briapi_logs";
|
||||
import { BriapiAppendixBank } from "./entity/briapi_appendix_banks";
|
||||
import { BriapiAppendixWallet } from "./entity/briapi_appendix_wallets";
|
||||
import { BriapiAppendixId } from "./entity/briapi_appendix_ids";
|
||||
import { BriapiBrifastIdentityType } from "./types/briapi";
|
||||
|
||||
import { TcelLog } from "./entity/tcel_logs";
|
||||
import { TcelConfig } from "./entity/tcel_configs";
|
||||
|
||||
export {
|
||||
User, //
|
||||
UserRole,
|
||||
UserActivity,
|
||||
UserRefreshToken,
|
||||
TrialBalanceBranch,
|
||||
TrialBalanceConsolidation,
|
||||
LNKOLEK,
|
||||
CifAccount,
|
||||
ActivityType,
|
||||
ActivityTypeReverse,
|
||||
ErrorType,
|
||||
ErrorValidation,
|
||||
Paging,
|
||||
RoleList,
|
||||
Status,
|
||||
EmailBody,
|
||||
TelegramBody,
|
||||
TelegramResponseSend,
|
||||
Product,
|
||||
Branch,
|
||||
Menu,
|
||||
Administrativu,
|
||||
Aldeia,
|
||||
ClassEconomi,
|
||||
District,
|
||||
IncomeTier,
|
||||
Munisipo,
|
||||
Suco,
|
||||
LogPull,
|
||||
LogPullType,
|
||||
StatusLogPull,
|
||||
TellerCode,
|
||||
Category,
|
||||
CategorySource,
|
||||
CategoryType,
|
||||
PullerStatus,
|
||||
Target,
|
||||
BankGaransi,
|
||||
BankGaransiPending,
|
||||
BankGaransiType,
|
||||
BankGaransiStatus,
|
||||
BankGaransiPic,
|
||||
Summarize,
|
||||
SummarizeLog,
|
||||
SummarizeLogStatus,
|
||||
SummarizeType,
|
||||
Ledger,
|
||||
BpaFormat,
|
||||
BpaLog,
|
||||
Bpa,
|
||||
CreditCompany,
|
||||
CreditDebtor,
|
||||
CreditTypeForms,
|
||||
CreditApplication,
|
||||
CreditApplicationStatus,
|
||||
CreditApplicationForm,
|
||||
CreditCompanyUser,
|
||||
CreditCompanyUserRefreshToken,
|
||||
CreditApplicationChat,
|
||||
CreditApplicationFileStatus,
|
||||
CreditConfigs,
|
||||
CreditConfigInsurance,
|
||||
Application,
|
||||
TellerMutation,
|
||||
LogHikvision,
|
||||
BrivaCompany,
|
||||
BrivaCompanyAccountLabel,
|
||||
BrivaCompanyUser,
|
||||
BrivaCompanyUserRefreshToken,
|
||||
BrivaAccount,
|
||||
BrivaAccountLabel,
|
||||
BrivaTransaction,
|
||||
AssetSupplier,
|
||||
AssetFixedClassification,
|
||||
AssetFixedType,
|
||||
AssetGoodCategory,
|
||||
AssetGood,
|
||||
AssetRequestOrderCategory,
|
||||
AssetRequestOrder,
|
||||
AssetRequestOrderGood,
|
||||
AssetPurchase,
|
||||
AssetPurchaseRequestOrder,
|
||||
AssetPurchaseGoodsReceipt,
|
||||
AssetPurchaseGoodReceiptGood,
|
||||
AssetPurchaseRealization,
|
||||
AssetPurchaseBondRealizationGood,
|
||||
AssetPurchaseInvoice,
|
||||
AssetInventoryCondition,
|
||||
AssetInventory,
|
||||
AssetInventoryAttribute,
|
||||
AssetInventoryHistory,
|
||||
AssetFixedTypeType,
|
||||
AssetInventoryDepreciation,
|
||||
AssetInventoryDepreciationLog,
|
||||
BrizziBatchStatus,
|
||||
BrizziCardStatus,
|
||||
BrizziHistoryActvity,
|
||||
BrizziHistoryType,
|
||||
BrizziHistoryRemarks,
|
||||
BrizziBatch,
|
||||
BrizziCard,
|
||||
BrizziHistory,
|
||||
BrizziOldCard,
|
||||
BrilinkMerchantStatus,
|
||||
BrilinkTerminalType,
|
||||
BrilinkTerminalCondition,
|
||||
BrilinkTerminalOnline,
|
||||
BrilinkBalanceType,
|
||||
BrilinkBalanceCode,
|
||||
BrilinkBalanceMutationType,
|
||||
BrilinkBalanceMutationActvity,
|
||||
BrilinkBalanceSourceType,
|
||||
BrilinkBalanceDestinationType,
|
||||
BrilinkBalanceMutationStatus,
|
||||
BrilinkTransactionType,
|
||||
BrilinkTransactionActivity,
|
||||
BrilinkTransactionStatus,
|
||||
BrilinkMerchantSettlementStatus,
|
||||
BrilinkMerchant,
|
||||
BrilinkMerchantUser,
|
||||
BrilinkMerchantUserRefreshToken,
|
||||
BrilinkTerminal,
|
||||
BrilinkTerminalMenu,
|
||||
BrilinkMerchantSite,
|
||||
BrilinkMerchantTerminal,
|
||||
BrilinkMerchantTerminalHistory,
|
||||
BrilinkMerchantTerminalMenu,
|
||||
BrilinkMerchantTerminalUser,
|
||||
BrilinkMerchantTerminalUserRefreshToken,
|
||||
BrilinkBalance,
|
||||
BrilinkBalanceMutation,
|
||||
BrilinkBalanceTopup,
|
||||
BrilinkTerminalLanguage,
|
||||
BrilinkTransaction,
|
||||
BrilinkMerchantSettlement,
|
||||
BrilinkTransactionCodePrefixType,
|
||||
BrilinkTransactionCodePrefixActivity,
|
||||
BrilinkBalanceMutationCodePrefixType,
|
||||
BrilinkBalanceMutationCodePrefixActvity,
|
||||
BrilinkBalanceTopupCodePrefix,
|
||||
BrilinkMembership,
|
||||
BrilinkMembershipCard,
|
||||
BrilinkDiscountModule,
|
||||
BrilinkDiscountStatus,
|
||||
BrilinkDiscountType,
|
||||
BrilinkDiscount,
|
||||
BrilinkProductCategorySupplier,
|
||||
BrilinkProductCategory,
|
||||
BrilinkProductType,
|
||||
BrilinkProductItem,
|
||||
BrilinkMerchantProductItem,
|
||||
BrilinkTransactionLog,
|
||||
BrilinkMembershipCardStatus,
|
||||
BrilinkMembershipCardHistoryActvity,
|
||||
BrilinkMembershipCardRemarks,
|
||||
BrilinkMembershipCardHistory,
|
||||
BriapiConfig,
|
||||
BriapiLog,
|
||||
BriapiAppendixBank,
|
||||
BriapiAppendixWallet,
|
||||
BriapiAppendixId,
|
||||
BriapiBrifastIdentityType,
|
||||
RemitMunisipo,
|
||||
RemitAdministrativu,
|
||||
RemitSuco,
|
||||
RemitAldeia,
|
||||
RemitPartnerType,
|
||||
RemitPartnerStatus,
|
||||
RemitRiskLevel,
|
||||
RemitGender,
|
||||
RemitIdentityType,
|
||||
RemitDocumentType,
|
||||
RemitPartnerFeeType,
|
||||
RemitSenderType,
|
||||
RemitTransactionStatus,
|
||||
RemitTransactionCurrencyType,
|
||||
RemitBeneficial,
|
||||
RemitBeneficiary,
|
||||
RemitConfigBank,
|
||||
RemitConfigBusinessType,
|
||||
RemitConfigRate,
|
||||
RemitConfigNationalities,
|
||||
RemitConfigOccupation,
|
||||
RemitConfigPurpose,
|
||||
RemitConfigSourceIncome,
|
||||
RemitConfigRelation,
|
||||
RemitConfigBusinessField,
|
||||
RemitConfigEpp,
|
||||
RemitConfigMunisipo,
|
||||
RemitConfigBeneficiaryProvince,
|
||||
RemitConfigTransactionType,
|
||||
RemitConfigChannel,
|
||||
RemitConfigTransactionInfo,
|
||||
RemitConfigBoom,
|
||||
RemitConfigTransactionChannel,
|
||||
RemitPartnerAccounts,
|
||||
RemitPartnerApi,
|
||||
RemitPartnerDocument,
|
||||
RemitPartnerFee,
|
||||
RemitPartnerOwners,
|
||||
RemitPartnerUser,
|
||||
RemitPartnerUserRefreshToken,
|
||||
RemitPartner,
|
||||
RemitSender,
|
||||
RemitSenderIdentity,
|
||||
RemitTransaction,
|
||||
RemitTransactionRisk,
|
||||
RemitIndoProvince,
|
||||
RemitIndoCity,
|
||||
RemitPartnerCallback,
|
||||
RemitTransactionPartnerCallbackLog,
|
||||
TcelConfig,
|
||||
TcelLog,
|
||||
};
|
||||
export * from "./schema/public";
|
||||
export * from "./schema/hrms";
|
||||
export * from "./schema/credit";
|
||||
export * from "./schema/briva";
|
||||
export * from "./schema/asset";
|
||||
export * from "./schema/remit";
|
||||
export * from "./schema/briapi";
|
||||
export * from "./schema/brizzi";
|
||||
export * from "./schema/tcel";
|
||||
export * from "./schema/brilink";
|
||||
export * from "./schema/eform";
|
||||
export * from "./schema/compliance";
|
||||
|
||||
20
src/schema/asset.ts
Normal file
20
src/schema/asset.ts
Normal file
@ -0,0 +1,20 @@
|
||||
export * from "..//entity/asset_supplier";
|
||||
export * from "..//entity/asset_fixed_classification";
|
||||
export * from "..//entity/asset_fixed_type";
|
||||
export * from "..//entity/asset_good_category";
|
||||
export * from "..//entity/asset_good";
|
||||
export * from "..//entity/asset_request_order_category";
|
||||
export * from "..//entity/asset_request_order";
|
||||
export * from "..//entity/asset_request_order_good";
|
||||
export * from "..//entity/asset_purchase";
|
||||
export * from "..//entity/asset_purchase_request_order";
|
||||
export * from "..//entity/asset_purchase_goods_receipt";
|
||||
export * from "..//entity/asset_purchase_goods_receipt_good";
|
||||
export * from "..//entity/asset_purchase_realization";
|
||||
export * from "..//entity/asset_purchase_purchase_bond_realization_good";
|
||||
export * from "..//entity/asset_purchase_invoice";
|
||||
export * from "..//entity/asset_inventories";
|
||||
export * from "..//entity/asset_inventory_attributes";
|
||||
export * from "..//entity/asset_inventory_histories";
|
||||
export * from "..//entity/asset_inventory_depreciations";
|
||||
export * from "..//entity/asset_inventory_depreciation_logs";
|
||||
6
src/schema/briapi.ts
Normal file
6
src/schema/briapi.ts
Normal file
@ -0,0 +1,6 @@
|
||||
export * from "../entity/briapi_configs";
|
||||
export * from "../entity/briapi_logs";
|
||||
export * from "../entity/briapi_appendix_banks";
|
||||
export * from "../entity/briapi_appendix_wallets";
|
||||
export * from "../entity/briapi_appendix_ids";
|
||||
export * from "../types/briapi";
|
||||
27
src/schema/brilink.ts
Normal file
27
src/schema/brilink.ts
Normal file
@ -0,0 +1,27 @@
|
||||
export * from "../entity/brilink_merchants";
|
||||
export * from "../entity/brilink_merchant_users";
|
||||
export * from "../entity/brilink_merchant_user_refresh_token";
|
||||
export * from "../entity/brilink_terminals";
|
||||
export * from "../entity/brilink_terminal_menus";
|
||||
export * from "../entity/brilink_merchant_sites";
|
||||
export * from "../entity/brilink_merchant_terminals";
|
||||
export * from "../entity/brilink_merchant_terminal_histories";
|
||||
export * from "../entity/brilink_merchant_terminal_menus";
|
||||
export * from "../entity/brilink_merchant_terminal_users";
|
||||
export * from "../entity/brilink_merchant_terminal_user_refresh_token";
|
||||
export * from "../entity/brilink_balances.ts";
|
||||
export * from "../entity/brilink_balance_mutations";
|
||||
export * from "../entity/brilink_balance_topup";
|
||||
export * from "../entity/brilink_terminal_languages";
|
||||
export * from "../entity/brilink_transactions";
|
||||
export * from "../entity/brilink_merchant_settlements";
|
||||
export * from "../entity/brilink_memberships";
|
||||
export * from "../entity/brilink_membership_cards";
|
||||
export * from "../entity/brilink_discounts";
|
||||
export * from "../entity/brilink_product_categories";
|
||||
export * from "../entity/brilink_product_types";
|
||||
export * from "../entity/brilink_product_items";
|
||||
export * from "../entity/brilink_merchant_product_items";
|
||||
export * from "../entity/brilink_transaction_logs";
|
||||
export * from "../entity/brilink_membership_card_history";
|
||||
export * from "../types/brilink";
|
||||
7
src/schema/briva.ts
Normal file
7
src/schema/briva.ts
Normal file
@ -0,0 +1,7 @@
|
||||
export * from "../entity/briva_companies";
|
||||
export * from "../entity/briva_company_users";
|
||||
export * from "../entity/briva_company_user_refresh_token";
|
||||
export * from "../entity/briva_accounts";
|
||||
export * from "../entity/briva_transactions";
|
||||
export * from "../entity/briva_company_account_labels";
|
||||
export * from "../entity/briva_account_labels";
|
||||
5
src/schema/brizzi.ts
Normal file
5
src/schema/brizzi.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export * from "../entity/brizzi_batchs";
|
||||
export * from "../entity/brizzi_cards";
|
||||
export * from "../entity/brizzi_history";
|
||||
export * from "../entity/brizzi_old_card";
|
||||
export * from "../types/brizzi";
|
||||
4
src/schema/compliance.ts
Normal file
4
src/schema/compliance.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export * from "../entity/compliance_appendix_categories";
|
||||
export * from "../entity/compliance_appendix_items";
|
||||
export * from "../entity/compliance_appendix_item_references";
|
||||
export * from "../entity/compliance_risk_levels";
|
||||
11
src/schema/credit.ts
Normal file
11
src/schema/credit.ts
Normal file
@ -0,0 +1,11 @@
|
||||
export * from "../entity/credit_companies";
|
||||
export * from "../entity/credit_debtors";
|
||||
export * from "../entity/credit_type_forms";
|
||||
export * from "../entity/credit_applications";
|
||||
export * from "../entity/credit_application_forms";
|
||||
export * from "../entity/credit_company_users";
|
||||
export * from "../entity/credit_company_user_refresh_token";
|
||||
export * from "../entity/credit_application_chats";
|
||||
export * from "../entity/credit_config";
|
||||
export * from "../entity/credit_config_insurance";
|
||||
export * from "../types/credit";
|
||||
22
src/schema/eform.ts
Normal file
22
src/schema/eform.ts
Normal file
@ -0,0 +1,22 @@
|
||||
export * from "../entity/eform_languages";
|
||||
export * from "../entity/eform_config_booms";
|
||||
export * from "../entity/eform_config_business_entities";
|
||||
export * from "../entity/eform_config_business_fields";
|
||||
export * from "../entity/eform_config_channels";
|
||||
export * from "../entity/eform_config_educations";
|
||||
export * from "../entity/eform_config_identity_types";
|
||||
export * from "../entity/eform_config_maritals";
|
||||
export * from "../entity/eform_config_munisipos";
|
||||
export * from "../entity/eform_config_nationalities";
|
||||
export * from "../entity/eform_config_occupations";
|
||||
export * from "../entity/eform_config_products";
|
||||
export * from "../entity/eform_config_purposes";
|
||||
export * from "../entity/eform_config_relations";
|
||||
export * from "../entity/eform_config_religions";
|
||||
export * from "../entity/eform_config_source_incomes";
|
||||
export * from "../entity/eform_config_strs";
|
||||
export * from "../entity/eform_region_munisipos";
|
||||
export * from "../entity/eform_region_administrativus";
|
||||
export * from "../entity/eform_region_aldeias";
|
||||
export * from "../entity/eform_region_sucos";
|
||||
export * from "../entity/eform_requests";
|
||||
1
src/schema/hrms.ts
Normal file
1
src/schema/hrms.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from "../entity/log_hikvision";
|
||||
47
src/schema/public.ts
Normal file
47
src/schema/public.ts
Normal file
@ -0,0 +1,47 @@
|
||||
export * from "../entity/cif_account";
|
||||
export * from "../entity/lnkolek";
|
||||
export * from "../entity/trial_balance_branch";
|
||||
export * from "../entity/trial_balance_consolidation";
|
||||
export * from "../entity/user_activity";
|
||||
export * from "../entity/user_refresh_token";
|
||||
export * from "../entity/users";
|
||||
export * from "../entity/users_roles";
|
||||
export * from "../entity/branchs";
|
||||
export * from "../entity/products";
|
||||
export * from "../entity/menu";
|
||||
export * from "../entity/administrativu";
|
||||
export * from "../entity/aldeia";
|
||||
export * from "../entity/class_economi";
|
||||
export * from "../entity/district";
|
||||
export * from "../entity/income_tier";
|
||||
export * from "../entity/munisipo";
|
||||
export * from "../entity/suco";
|
||||
export * from "../entity/log_pull";
|
||||
export * from "../entity/categories";
|
||||
export * from "../entity/puller_status";
|
||||
export * from "../entity/targets";
|
||||
export * from "../entity/bank_garansi";
|
||||
export * from "../entity/bank_garansi_type";
|
||||
export * from "../entity/bank_garansi_status";
|
||||
export * from "../entity/bank_garansi_pending";
|
||||
export * from "../entity/bank_garansi_pic";
|
||||
export * from "../entity/summarizes";
|
||||
export * from "../entity/summarize_log";
|
||||
export * from "../entity/ledgers";
|
||||
export * from "../entity/bpa_format";
|
||||
export * from "../entity/bpa_log";
|
||||
export * from "../entity/bpa";
|
||||
export * from "../entity/application";
|
||||
export * from "../entity/teller_mutation";
|
||||
|
||||
export * from "../types/action";
|
||||
export * from "../types/error";
|
||||
export * from "../types/paging";
|
||||
export * from "../types/role";
|
||||
export * from "../types/status";
|
||||
export * from "../types/email";
|
||||
export * from "../types/pull";
|
||||
export * from "../types/category_source";
|
||||
export * from "../types/category";
|
||||
export * from "../types/summarize";
|
||||
export * from "../types/telegram";
|
||||
41
src/schema/remit.ts
Normal file
41
src/schema/remit.ts
Normal file
@ -0,0 +1,41 @@
|
||||
export * from "../entity/remit_munisipos";
|
||||
export * from "../entity/remit_administrativus";
|
||||
export * from "../entity/remit_sucos";
|
||||
export * from "../entity/remit_aldeias";
|
||||
export * from "../entity/remit_beneficials";
|
||||
export * from "../entity/remit_beneficiaries";
|
||||
export * from "../entity/remit_config_banks";
|
||||
export * from "../entity/remit_config_business_types";
|
||||
export * from "../entity/remit_config_rates";
|
||||
export * from "../entity/remit_config_nationalities";
|
||||
export * from "../entity/remit_config_occupations";
|
||||
export * from "../entity/remit_config_purposes";
|
||||
export * from "../entity/remit_config_source_incomes";
|
||||
export * from "../entity/remit_config_epp";
|
||||
export * from "../entity/remit_partner_accounts";
|
||||
export * from "../entity/remit_partner_apis";
|
||||
export * from "../entity/remit_partner_documents";
|
||||
export * from "../entity/remit_partner_fees";
|
||||
export * from "../entity/remit_partner_owners";
|
||||
export * from "../entity/remit_partner_users";
|
||||
export * from "../entity/remit_partner_user_refresh_token";
|
||||
export * from "../entity/remit_partners";
|
||||
export * from "../entity/remit_senders";
|
||||
export * from "../entity/remit_sender_identities";
|
||||
export * from "../entity/remit_transactions";
|
||||
export * from "../entity/remit_config_relations";
|
||||
export * from "../entity/remit_config_business_fields";
|
||||
export * from "../entity/remit_config_munisipos";
|
||||
export * from "../entity/remit_config_beneficiary_provinces";
|
||||
export * from "../entity/remit_config_transaction_types";
|
||||
export * from "../entity/remit_config_channels";
|
||||
export * from "../entity/remit_config_transaction_infos";
|
||||
export * from "../entity/remit_config_booms";
|
||||
export * from "../entity/remit_config_transaction_channels";
|
||||
export * from "../entity/remit_indo_provinces";
|
||||
export * from "../entity/remit_indo_cities";
|
||||
export * from "../entity/remit_partner_callbacks";
|
||||
export * from "../entity/remit_transaction_partner_callback_logs";
|
||||
export * from "../entity/remit_transaction_risk";
|
||||
|
||||
export * from "../types/remit";
|
||||
2
src/schema/tcel.ts
Normal file
2
src/schema/tcel.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from "../entity/tcel_logs";
|
||||
export * from "../entity/tcel_configs";
|
||||
17
src/types/eform.ts
Normal file
17
src/types/eform.ts
Normal file
@ -0,0 +1,17 @@
|
||||
export enum EformRequestSourceType {
|
||||
"web" = "web",
|
||||
"app_brizzi" = "app_brizzi",
|
||||
}
|
||||
|
||||
export enum EformRequestStatusType {
|
||||
"verify" = "verify",
|
||||
"open" = "open",
|
||||
"process" = "process",
|
||||
"close" = "close",
|
||||
"reject" = "reject",
|
||||
}
|
||||
|
||||
export enum EformRequestRequestorType {
|
||||
"wic" = "wic",
|
||||
"bri" = "bri",
|
||||
}
|
||||
Reference in New Issue
Block a user