diff --git a/Myshipping.Application/Service/TaskManagePlat/Dtos/PDFReadFileResultDto.cs b/Myshipping.Application/Service/TaskManagePlat/Dtos/PDFReadFileResultDto.cs new file mode 100644 index 00000000..48967211 --- /dev/null +++ b/Myshipping.Application/Service/TaskManagePlat/Dtos/PDFReadFileResultDto.cs @@ -0,0 +1,109 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Application.Service +{ + public class PDFReadFileResultDto + { + /// + /// 解析回执代码 + /// + public int status { get; set; } + + /// + /// 解析提示信息 + /// + public string message { get; set; } + + /// + /// 解析数据 + /// + public PDFReadFileResultDataDto data { get; set; } + } + + public class PDFReadFileResultDataDto + { + /// + /// PDF文本内容 + /// + public string text { get; set; } + + /// + /// 多页 + /// + public object[] coordinate { get; set; } + } + + public class PDFReadFileResultDataCoordinateDto + { + /// + /// 页号 + /// + public int PageNum { get; set; } + /// + /// 识别明细 + /// + public List detailList { get; set; } + } + + public class PDFReadFileResultDataCoordinateDetailDto + { + /// + /// 文本内容 + /// + public string text { get; set; } + + /// + /// + /// + public decimal x0 { get; set; } + + /// + /// + /// + public decimal x1 { get; set; } + + /// + /// + /// + public decimal top { get; set; } + + /// + /// + /// + public decimal doctop { get; set; } + + /// + /// + /// + public decimal bottom { get; set; } + + /// + /// + /// + public bool upright { get; set; } + + /// + /// + /// + public int direction { get; set; } + + /// + /// 修改后X坐标值(取了最大正整数) + /// + public decimal CorrectX { get; set; } + + /// + /// 计算列号 + /// + public decimal RowSortNo { get; set; } + + /// + /// 计算行号 + /// + public decimal LineSortNo { get; set; } + } +}