eform update
This commit is contained in:
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;
|
||||||
|
}
|
||||||
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;
|
||||||
|
}
|
||||||
@ -1 +1,21 @@
|
|||||||
export * from "../entity/eform_languages";
|
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";
|
||||||
|
|||||||
Reference in New Issue
Block a user