13 lines
451 B
Python
13 lines
451 B
Python
from sqlalchemy import Column, Integer, String, Boolean, types
|
|
from app.core.database import Base
|
|
|
|
|
|
class Developer(Base):
|
|
__tablename__ = "sys_developer"
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
name = Column(String, nullable=True)
|
|
profile = Column(types.Text().with_variant(types.Text(length=4294967295), "mysql"), nullable=True)
|
|
post = Column(String, nullable=True)
|
|
gmt_create = Column(String(20), nullable=True)
|