From 3a15b938f2431f057c93d1c6a4936fcdd8a07464 Mon Sep 17 00:00:00 2001 From: KWON Date: Tue, 29 Jul 2025 14:23:59 +0900 Subject: [PATCH] =?UTF-8?q?db=20=EC=8A=A4=ED=82=A4=EB=A7=88=20=EC=97=85?= =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/db_schema.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/conf/db_schema.py b/conf/db_schema.py index 73af925..6495ec6 100644 --- a/conf/db_schema.py +++ b/conf/db_schema.py @@ -214,6 +214,30 @@ pos_billdata = Table( PrimaryKeyConstraint('sale_date', 'shop_cd', 'pos_no', 'bill_no', 'product_cd') ) +pos_ups_billdata = Table( + get_full_table_name('pos_ups_billdata'), metadata, + Column('sale_date', DateTime, nullable=False), + Column('shop_name', String(100), nullable=False), + Column('pos_no', Integer, nullable=False), + Column('bill_no', Integer, nullable=False), + Column('product_cd', String(20), nullable=False), + Column('ca01', String(50)), + Column('ca02', String(50)), + Column('ca03', String(50)), + Column('product_name', String(100)), + Column('barcode', String(20)), + Column('amt', Integer), + Column('qty', Integer), + Column('tot_sale_amt', Integer), + Column('dc_amt', Integer), + Column('dcm_sale_amt', Integer), + Column('net_amt', Integer), + Column('vat_amt', Integer), + Column('cash_receipt', Integer), + Column('card', Integer), + PrimaryKeyConstraint('sale_date', 'shop_name', 'pos_no', 'bill_no', 'product_cd') +) + pos_shop_name = Table( get_full_table_name('pos_shop_name'), metadata, Column('shop_cd', String(20), primary_key=True, nullable=False),