diff --git a/models/medicament_models.py b/models/medicament_models.py index ba34338..0116dfb 100644 --- a/models/medicament_models.py +++ b/models/medicament_models.py @@ -81,6 +81,10 @@ class EntityMedicament(Base): storage_condition = Column(String(50), comment="存储条件") # 标准品管理分类 storage_type = Column(String(50), comment="标准品管理分类") + # 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') remark2 = Column(String(50), comment='扩展字段2') @@ -208,12 +212,8 @@ 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 func_type类型') + remark1 = Column(String(50), comment='扩展字段1 func_type类型 1易制毒 2普通危化品 3对照品') remark2 = Column(String(50), comment='扩展字段2') remark3 = Column(String(50), comment='扩展字段3') remark4 = Column(String(50), comment='扩展字段4')