13 lines
465 B
Python
13 lines
465 B
Python
from sqlalchemy import Column, Integer, String, Boolean, types
|
|
from app.core.database import Base
|
|
|
|
|
|
class Requirement(Base):
|
|
__tablename__ = "sys_requirement"
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
title = Column(String, index=True)
|
|
description = Column(types.Text().with_variant(types.Text(length=4294967295), "mysql"), nullable=True)
|
|
project_id = Column(Integer, nullable=False)
|
|
gmt_create = Column(String(20), nullable=True)
|