首次提交
This commit is contained in:
23
photo_review/entity/zx_ie_cost.py
Normal file
23
photo_review/entity/zx_ie_cost.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# coding: utf-8
|
||||
from sqlalchemy import Column, DECIMAL, Date, DateTime, String
|
||||
from sqlalchemy.dialects.mysql import INTEGER
|
||||
|
||||
from config.mysql import Base
|
||||
|
||||
|
||||
class ZxIeCost(Base):
|
||||
__tablename__ = 'zx_ie_cost'
|
||||
|
||||
pk_ie_cost = Column(INTEGER(11), primary_key=True, comment='费用明细信息抽取主键')
|
||||
pk_phhd = Column(INTEGER(11), nullable=False, unique=True, comment='报销案子主键')
|
||||
name = Column(String(30), comment='患者姓名')
|
||||
admission_date_str = Column(String(255), comment='入院日期字符串')
|
||||
admission_date = Column(Date, comment='入院日期')
|
||||
discharge_date_str = Column(String(255), comment='出院日期字符串')
|
||||
discharge_date = Column(Date, comment='出院日期')
|
||||
medical_expenses_str = Column(String(255), comment='费用总额字符串')
|
||||
medical_expenses = Column(DECIMAL(18, 2), comment='费用总额')
|
||||
createtime = Column(DateTime, comment='创建时间')
|
||||
creator = Column(String(255), comment='创建人')
|
||||
modifiedtime = Column(DateTime, comment='修改时间')
|
||||
modifier = Column(String(255), comment='修改人')
|
||||
Reference in New Issue
Block a user