|
|
@@ -140,6 +140,31 @@ class PlTransportAddress(Base):
|
|
|
del_flag = Column(SmallInteger, nullable=False, default=0, comment="删除标记:0-正常 1-已删除")
|
|
|
|
|
|
|
|
|
+class PlCustomerStopPref(Base):
|
|
|
+ """客户装/送货物流默认记忆 pl_customer_stop_pref"""
|
|
|
+
|
|
|
+ __tablename__ = "pl_customer_stop_pref"
|
|
|
+
|
|
|
+ id = Column(String(64), primary_key=True, comment="主键ID")
|
|
|
+ customer_id = Column(String(64), nullable=False, comment="客户ID")
|
|
|
+ customer_name = Column(String(200), nullable=True, comment="客户名称")
|
|
|
+ stop_type = Column(String(20), nullable=False, comment="load-装货 delivery-送货")
|
|
|
+ address = Column(String(500), nullable=True, comment="地址")
|
|
|
+ lng = Column(DECIMAL(10, 6), nullable=True, comment="经度")
|
|
|
+ lat = Column(DECIMAL(10, 6), nullable=True, comment="纬度")
|
|
|
+ contact = Column(String(200), nullable=True, comment="联系方式")
|
|
|
+ notes = Column(String(500), nullable=True, comment="注意事项")
|
|
|
+ tenant_no = Column(String(64), nullable=False, default="shanxia2.0", comment="租户编号")
|
|
|
+ order_num = Column(Integer, nullable=True, comment="排序号")
|
|
|
+ remark = Column(String(512), nullable=True, comment="备注")
|
|
|
+ create_by = Column(String(64), nullable=True, comment="创建人id")
|
|
|
+ create_dept_id = Column(String(64), nullable=False, default="", comment="创建人部门ID")
|
|
|
+ create_time = Column(DateTime, nullable=False, default=datetime.now, comment="创建时间")
|
|
|
+ update_by = Column(String(64), nullable=True, comment="更新人id")
|
|
|
+ update_time = Column(DateTime, nullable=False, default=datetime.now, onupdate=datetime.now, comment="更新时间")
|
|
|
+ del_flag = Column(SmallInteger, nullable=False, default=0, comment="删除标记:0-正常 1-已删除")
|
|
|
+
|
|
|
+
|
|
|
class PlCert(Base):
|
|
|
"""证书表 pl_cert"""
|
|
|
|