| 286 | last_modify_ts = Column(BigInteger, comment='最后修改时间戳') |
| 287 | |
| 288 | class ZhihuComment(Base): |
| 289 | __tablename__ = 'zhihu_comment' |
| 290 | id = Column(Integer, primary_key=True, comment='主键ID') |
| 291 | comment_id = Column(String(64), index=True, comment='评论ID') |
| 292 | parent_comment_id = Column(String(64), comment='父评论ID') |
| 293 | content = Column(Text, comment='评论内容') |
| 294 | publish_time = Column(String(32), index=True, comment='发布时间') |
| 295 | sub_comment_count = Column(Integer, default=0, comment='子评论数') |
| 296 | like_count = Column(Integer, default=0, comment='点赞数') |
| 297 | dislike_count = Column(Integer, default=0, comment='点踩数') |
| 298 | content_id = Column(String(64), index=True, comment='内容ID') |
| 299 | content_type = Column(Text, comment='内容类型') |
| 300 | creator_hash = Column(String(64), index=True, comment='创作者匿名哈希') |
| 301 | user_nickname = Column(Text, comment='用户昵称(已脱敏)') |
| 302 | add_ts = Column(BigInteger, comment='添加时间戳') |
| 303 | last_modify_ts = Column(BigInteger, comment='最后修改时间戳') |