diff --git a/photo_review/entity/zx_ocr.py b/photo_review/entity/zx_ocr.py index 583027a..1bb8deb 100644 --- a/photo_review/entity/zx_ocr.py +++ b/photo_review/entity/zx_ocr.py @@ -12,8 +12,8 @@ class ZxOcr(Base): pk_phhd = Column(INTEGER(11), nullable=False, comment='报销单主键') pk_phrec = Column(INTEGER(11), nullable=False, comment='图片主键') cfjaddress = Column(String(200), nullable=False, comment='云存储文件名') - content = Column(String(2000), comment='OCR识别内容') - createtime = Column(DateTime, nullable=False, comment='创建时间') - creator = Column(String(30), nullable=False, comment='创建人') - modifiedtime = Column(DateTime, nullable=False, comment='修改时间') - modifier = Column(String(30), nullable=False, comment='修改人') + content = Column(String(5000), comment='OCR识别内容') + create_time = Column(DateTime, comment='创建时间') + creator = Column(String(30), comment='创建人') + update_time = Column(DateTime, comment='修改时间') + updater = Column(String(30), comment='修改人')