|
@@ -162,3 +162,18 @@ class EmergencyDoc(Base):
|
|
|
|
|
|
class Config:
|
|
|
orm_mode = True
|
|
|
+
|
|
|
+
|
|
|
+class EmergencyContactInfo(Base):
|
|
|
+ __tablename__ = 'emergency_contact_info'
|
|
|
+
|
|
|
+ id = Column(Integer, autoincrement=True, primary_key=True)
|
|
|
+ unit_name = Column(String(255), nullable=False, comment='单位名称')
|
|
|
+ contact_name = Column(String(255), nullable=False, comment='联系人')
|
|
|
+ position = Column(String(255), comment='职务')
|
|
|
+ yue_gov_ease_phone = Column(String(20), comment='粤政易手机号码')
|
|
|
+ create_time = Column(DateTime, default=datetime.now, comment='数据创建时间')
|
|
|
+ update_time = Column(DateTime, default=datetime.now, onupdate=datetime.now, comment='数据更新时间')
|
|
|
+ create_dept = Column(BigInteger, default=None, comment='创建部门')
|
|
|
+ create_by = Column(BigInteger, default=None, comment='创建者')
|
|
|
+ del_flag = Column(String(1), default='0', comment='删除标志(0代表存在 2代表删除)')
|