This commit is contained in:
fro1991
2025-07-01 23:01:06 +07:00
parent 5a426792c2
commit 56a1bec3c5
6 changed files with 69 additions and 87 deletions

View File

@ -14,11 +14,8 @@ export class RemitConfigBusinessType {
}) })
name: string; name: string;
@Column({ @Column({ type: "smallint", default: 0 })
nullable: false, level: Number;
length: 64,
})
level: RemitRiskLevel;
@Column({ @Column({
nullable: false, nullable: false,
@ -30,7 +27,7 @@ export class RemitConfigBusinessType {
@CreateDateColumn() @CreateDateColumn()
created_at: Date; created_at: Date;
@Column({ nullable: true, length: 256, }) @Column({ nullable: true, length: 256 })
created_by: string; created_by: string;
@Column({ nullable: true }) @Column({ nullable: true })

View File

@ -14,11 +14,8 @@ export class RemitConfigNationalities {
}) })
name: string; name: string;
@Column({ @Column({ type: "smallint", default: 0 })
nullable: false, level: Number;
length: 64,
})
level: RemitRiskLevel;
@Column({ @Column({
nullable: false, nullable: false,
@ -30,7 +27,7 @@ export class RemitConfigNationalities {
@CreateDateColumn() @CreateDateColumn()
created_at: Date; created_at: Date;
@Column({ nullable: true, length: 256, }) @Column({ nullable: true, length: 256 })
created_by: string; created_by: string;
@Column({ nullable: true }) @Column({ nullable: true })

View File

@ -14,11 +14,8 @@ export class RemitConfigOccupation {
}) })
name: string; name: string;
@Column({ @Column({ type: "smallint", default: 0 })
nullable: false, level: Number;
length: 64,
})
level: RemitRiskLevel;
@Column({ @Column({
nullable: false, nullable: false,
@ -30,7 +27,7 @@ export class RemitConfigOccupation {
@CreateDateColumn() @CreateDateColumn()
created_at: Date; created_at: Date;
@Column({ nullable: true, length: 256, }) @Column({ nullable: true, length: 256 })
created_by: string; created_by: string;
@Column({ nullable: true }) @Column({ nullable: true })

View File

@ -14,11 +14,8 @@ export class RemitConfigPurpose {
}) })
name: string; name: string;
@Column({ @Column({ type: "smallint", default: 0 })
nullable: false, level: Number;
length: 64,
})
level: RemitRiskLevel;
@Column({ @Column({
nullable: false, nullable: false,
@ -30,7 +27,7 @@ export class RemitConfigPurpose {
@CreateDateColumn() @CreateDateColumn()
created_at: Date; created_at: Date;
@Column({ nullable: true, length: 256, }) @Column({ nullable: true, length: 256 })
created_by: string; created_by: string;
@Column({ nullable: true }) @Column({ nullable: true })

View File

@ -14,11 +14,8 @@ export class RemitConfigRelation {
}) })
name: string; name: string;
@Column({ @Column({ type: "smallint", default: 0 })
nullable: false, level: Number;
length: 64,
})
level: RemitRiskLevel;
@Column({ @Column({
nullable: false, nullable: false,

View File

@ -14,11 +14,8 @@ export class RemitConfigSourceIncome {
}) })
name: string; name: string;
@Column({ @Column({ type: "smallint", default: 0 })
nullable: false, level: Number;
length: 64,
})
level: RemitRiskLevel;
@Column({ @Column({
nullable: false, nullable: false,
@ -30,7 +27,7 @@ export class RemitConfigSourceIncome {
@CreateDateColumn() @CreateDateColumn()
created_at: Date; created_at: Date;
@Column({ nullable: true, length: 256, }) @Column({ nullable: true, length: 256 })
created_by: string; created_by: string;
@Column({ nullable: true }) @Column({ nullable: true })