15 lines
561 B
Python
15 lines
561 B
Python
from sqlalchemy import Column, Integer, String, Boolean, types
|
|
from app.core.database import Base
|
|
|
|
|
|
class Project(Base):
|
|
__tablename__ = 'sys_project'
|
|
|
|
id = Column(Integer, primary_key=True, autoincrement=True)
|
|
title = Column(String, nullable=False)
|
|
description = Column(types.Text().with_variant(types.Text(length=4294967295), "mysql"), nullable=False)
|
|
manager = Column(String, nullable=False)
|
|
demander = Column(String, nullable=False)
|
|
developers = Column(String, nullable=False)
|
|
gmt_create = Column(String(20), nullable=False)
|