报告数据清洗
This commit is contained in:
parent
95d03fba02
commit
19a98ef9be
|
@ -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='创建时间')
|
||||
|
||||
|
|
Loading…
Reference in New Issue