报告数据清洗

This commit is contained in:
wcq 2023-08-17 15:49:56 +08:00
parent 95d03fba02
commit 19a98ef9be
1 changed files with 2 additions and 2 deletions

View File

@ -16,10 +16,10 @@ class CompanyUser(common_db.Base, SalBase):
id: Mapped[str] = mapped_column(String(255), primary_key=True, comment='用户ID', default=lambda: uuid.uuid4().hex)
email: Mapped[str] = mapped_column(String(255), comment="邮箱")
phone: Mapped[str] = mapped_column(String(255), comment="手机号")
phone: Mapped[str] = mapped_column(String(255), comment="手机号",nullable=True)
company_name: Mapped[str] = mapped_column(String(255), comment="公司名称")
passwd: Mapped[str] = mapped_column(String(255), comment="hash密码")
credit: Mapped[str] = mapped_column(String(255), comment="统一社会信用代码")
credit: Mapped[str] = mapped_column(String(255), comment="统一社会信用代码",nullable=True)
verified: Mapped[bool] = mapped_column(Boolean, default=False, comment="是否通过验证")
create_time: Mapped[datetime] = mapped_column(DateTime, server_default=func.now(), comment='创建时间')