diff --git a/models/medicament_models.py b/models/medicament_models.py index fea5171..302606c 100644 --- a/models/medicament_models.py +++ b/models/medicament_models.py @@ -164,6 +164,7 @@ class EntityMedicamentRecord(Base): is_empty = Column(Integer, comment="是否空瓶") record_remain = Column(Float, default="0.00", comment="药剂使用余量") use_quantity = Column(Float, default="0.00", comment="药剂单次使用量") + use_volume = Column(Float, default="0.00", comment="液体药剂单次使用量 = 药剂单次使用量 / 密度") create_date = Column(String(50), comment="创建日期") create_user_id = Column(String(50), comment="创建人ID") create_user_name = Column(String(50), comment="创建人名称") @@ -184,6 +185,7 @@ class EntityMedicamentVariety(Base): name = Column(String(50), comment="药剂名称") english_name = Column(String(50), comment="英文名称") purity = Column(String(50), comment="纯度") + density = Column(Float, comment="密度(单位g/cm^3)") # Speci = Column(Float) # 规格 # SpeciUnit = Column(String(50)) # 规格单位 # Unit = Column(String(50)) # 单位