From d25b073ff019c252bd78f8d5e882b11b056b8af8 Mon Sep 17 00:00:00 2001 From: fadlydev Date: Wed, 15 Jan 2025 15:22:52 +0700 Subject: [PATCH] update supplier field --- src/entity/supplier.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/entity/supplier.ts b/src/entity/supplier.ts index 7daab55..a5bc93d 100644 --- a/src/entity/supplier.ts +++ b/src/entity/supplier.ts @@ -18,12 +18,6 @@ export class Supplier { }) name: string; - @Column({ - nullable: true, - length: 255, - }) - description: string; - @Column({ nullable: true, length: 128, @@ -52,7 +46,13 @@ export class Supplier { nullable: false, length: 64, }) - status: string; + code_id: string; + + @Column({ + nullable: false, + length: 64, + }) + type: string; @Column() @CreateDateColumn()