summaryrefslogtreecommitdiff
path: root/db/schema/vendors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema/vendors.ts')
-rw-r--r--db/schema/vendors.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/db/schema/vendors.ts b/db/schema/vendors.ts
index 78ecf83c..0e6c4d66 100644
--- a/db/schema/vendors.ts
+++ b/db/schema/vendors.ts
@@ -21,6 +21,7 @@ export const vendors = pgTable("vendors", {
vendorName: varchar("vendor_name", { length: 255 }).notNull(),
// 벤더 코드 유니크 아니어도 괜찮은지?
vendorCode: varchar("vendor_code", { length: 100 }),
+ //사업자번호이고, 법인등록번호는 corporateRegistrationNumber
taxId: varchar("tax_id", { length: 100 }).notNull(),
address: text("address"),
country: varchar("country", { length: 100 }),
@@ -63,6 +64,25 @@ export const vendors = pgTable("vendors", {
businessSize: varchar("business_size", { length: 255 }),
+ // // PQ 승인시 받을 정보
+ // // 그룹사
+ // groupCompany: varchar("group_company", { length: 255 }),
+ // // 설립일
+ // establishmentDate: timestamp("establishment_date"),
+ // // Fax 주소
+ // faxAddress: varchar("fax_address", { length: 255 }),
+ // // 임직원 수
+ // employeeCount: varchar("employee_count", { length: 255 }),
+ // // 연간 매출액
+ // annualSales: text("annual_sales"),
+ // // 자산
+ // assets: text("assets"),
+ // // 생산능력
+ // productionCapacity: text("production_capacity"),
+ // // 조직도
+ // organizationChart: text("organization_chart"),
+
+
createdAt: timestamp("created_at").defaultNow().notNull(),
updatedAt: timestamp("updated_at").defaultNow().notNull(),