|
|
|
@ -7,7 +7,7 @@ import sys
|
|
|
|
|
sys.path.append('.')
|
|
|
|
|
# from common.utils import Utils
|
|
|
|
|
|
|
|
|
|
from sqlalchemy import Column, String, Integer, Text, Float, inspect
|
|
|
|
|
from sqlalchemy import Column, String, Integer, Text, Float, inspect, SmallInteger
|
|
|
|
|
from models.models_base import Base, get_uuid
|
|
|
|
|
|
|
|
|
|
# from sqlalchemy.ext.declarative import declarative_base
|
|
|
|
@ -208,12 +208,16 @@ class EntityMedicamentVariety(Base):
|
|
|
|
|
create_user_id = Column(String(50), comment="创建用户ID")
|
|
|
|
|
create_user_name = Column(String(50), comment="创建用户名称")
|
|
|
|
|
is_add = Column(Integer, comment="", default=0)
|
|
|
|
|
# 1是 0否
|
|
|
|
|
is_packing = Column(SmallInteger, default=1, comment="包装是否完好 1是 0否")
|
|
|
|
|
is_label = Column(SmallInteger, default=1, comment="标签是否清晰 1是 0否")
|
|
|
|
|
is_aspect = Column(SmallInteger, default=1, comment="外观是否符合要求 1是 0否")
|
|
|
|
|
|
|
|
|
|
remark1 = Column(String(50), comment='扩展字段1')
|
|
|
|
|
remark1 = Column(String(50), comment='扩展字段1 func_type类型')
|
|
|
|
|
remark2 = Column(String(50), comment='扩展字段2')
|
|
|
|
|
remark3 = Column(String(50), comment='扩展字段3')
|
|
|
|
|
remark4 = Column(String(50), comment='扩展字段4')
|
|
|
|
|
remark5 = Column(String(50), comment='扩展字段5')
|
|
|
|
|
remark5 = Column(String(50), comment='扩展字段5 试剂有效期年份')
|
|
|
|
|
remark6 = Column(String(50), comment='扩展字段6')
|
|
|
|
|
remark7 = Column(String(50), comment='扩展字段7')
|
|
|
|
|
remark8 = Column(String(50), comment='扩展字段8')
|
|
|
|
|