21 lines
630 B
Python
21 lines
630 B
Python
from sqlalchemy import Integer, Column, DateTime, Numeric, String
|
|
|
|
from util.database import Base
|
|
|
|
|
|
class Company(Base):
|
|
"""对应 Excel Sheet:企业信息表。"""
|
|
|
|
__tablename__ = "wl_company"
|
|
|
|
id = Column(Integer, primary_key=True, autoincrement=True)
|
|
company_number = Column(String(50))
|
|
name = Column(String(200))
|
|
industry = Column(String(100))
|
|
employee_scale = Column(String(50))
|
|
main_business = Column(String(1000))
|
|
registered_capital = Column(Numeric(16, 2))
|
|
created_at = Column(DateTime)
|
|
updated_at = Column(DateTime)
|
|
is_deleted = Column(default=False, nullable=False)
|