| 156 | sub_comment_count = Column(Text, comment='子评论数') |
| 157 | |
| 158 | class WeiboNote(Base): |
| 159 | __tablename__ = 'weibo_note' |
| 160 | id = Column(Integer, primary_key=True, comment='主键ID') |
| 161 | creator_hash = Column(String(64), index=True, comment='创作者匿名哈希') |
| 162 | nickname = Column(Text, comment='用户昵称(已脱敏)') |
| 163 | add_ts = Column(BigInteger, comment='添加时间戳') |
| 164 | last_modify_ts = Column(BigInteger, comment='最后修改时间戳') |
| 165 | note_id = Column(String(64), index=True, comment='笔记ID') |
| 166 | content = Column(Text, comment='笔记内容') |
| 167 | create_time = Column(BigInteger, index=True, comment='创建时间戳') |
| 168 | create_date_time = Column(String(255), index=True, comment='创建日期时间') |
| 169 | liked_count = Column(Text, comment='点赞数') |
| 170 | comments_count = Column(Text, comment='评论数') |
| 171 | shared_count = Column(Text, comment='分享数') |
| 172 | note_url = Column(Text, comment='笔记URL') |
| 173 | source_keyword = Column(Text, default='', comment='来源关键词') |
| 174 | |
| 175 | class WeiboNoteComment(Base): |
| 176 | __tablename__ = 'weibo_note_comment' |
no outgoing calls