From 99614d6957bf0c2e097218c9a607af914b0a486e Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Mon, 20 May 2024 15:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0zx=5Focr=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- photo_review/entity/zx_ocr.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 photo_review/entity/zx_ocr.py diff --git a/photo_review/entity/zx_ocr.py b/photo_review/entity/zx_ocr.py new file mode 100644 index 0000000..583027a --- /dev/null +++ b/photo_review/entity/zx_ocr.py @@ -0,0 +1,19 @@ +# coding: utf-8 +from sqlalchemy import Column, DateTime, String +from sqlalchemy.dialects.mysql import INTEGER + +from config.mysql import Base + + +class ZxOcr(Base): + __tablename__ = 'zx_ocr' + + pk_ocr = Column(INTEGER(11), primary_key=True, comment='图片OCR识别主键') + 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='修改人')