NewGaoKaoApi/PaymentSDK/AliPay/Domain/AiOcrTableContext.cs

63 lines
1.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AiOcrTableContext Data Structure.
/// </summary>
[Serializable]
public class AiOcrTableContext : AopObject
{
/// <summary>
/// one past end column index(单元格所占的列数(colspan)为ex - sx)
/// </summary>
[XmlElement("ex")]
public long Ex { get; set; }
/// <summary>
/// one past end row index(单元格所占的行数(rowspan)为ey - sy)
/// </summary>
[XmlElement("ey")]
public long Ey { get; set; }
/// <summary>
/// cell height,图片上单元格的高度
/// </summary>
[XmlElement("height")]
public long Height { get; set; }
/// <summary>
/// start from column(单元格的起始列id)
/// </summary>
[XmlElement("sx")]
public long Sx { get; set; }
/// <summary>
/// start row(单元格的起始行id)
/// </summary>
[XmlElement("sy")]
public long Sy { get; set; }
/// <summary>
/// 表格文字内容
/// </summary>
[XmlArray("text")]
[XmlArrayItem("string")]
public List<string> Text { get; set; }
/// <summary>
/// 类型
/// </summary>
[XmlElement("type")]
public string Type { get; set; }
/// <summary>
/// cell width图片上单元格的宽度
/// </summary>
[XmlElement("width")]
public long Width { get; set; }
}
}