You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
739 B

from sqlalchemy import create_engine, Column, Integer, String, Boolean
from sqlalchemy.ext.declarative import declarative_base
# 如果没有创建 Base,请取消注释下一行
Base = declarative_base()
class Video(Base):
__tablename__ = 'Videos'
id = Column(Integer, primary_key=True, autoincrement=True)
videoId = Column(String(255), nullable=False)
channelId = Column(String(255), nullable=False)
videoTitle = Column(String(255), nullable=False)
videoLen = Column(Integer, nullable=False)
videoType = Column(String(255), nullable=False)
videoPublishTime = Column(String(255), nullable=False)
videoLanguage = Column(String(255), nullable=False)
isDownload = Column(Integer, nullable=False)