extract_content.py 543 B

123456789101112
  1. # -*- coding: utf-8 -*-
  2. from .__load__ import *
  3. class Extract_content(Model):
  4. __table__ = 'extract_content'
  5. __comment__ = 'pdf内容'
  6. id = Fields(type='int', primaryKey=True, autoIncrement=True, comment='ID')
  7. extract_id = Fields(type='int', comment='文件id')
  8. method = Fields(type='tinyint(1)', comment='方法')
  9. content = Fields(type='text(255)', comment='内容')
  10. state = Fields(type='boolean', default='True', comment='数据存在状态')
  11. cdate = Fields(type='int', default='time', comment='创建时间')