56 lines
1.4 KiB
C#
56 lines
1.4 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace LCU.Library.Internal.DocumentIngestorModels.Models.XmlParser;
|
|
|
|
[Serializable]
|
|
[XmlType(AnonymousType = true)]
|
|
[XmlRoot(ElementName = "DOCUMENT", Namespace = "", IsNullable = false)]
|
|
public class XmlOsgHistoricalDocument
|
|
{
|
|
[XmlAttribute("accountNumber")]
|
|
public string MemberNumberOrUserId { get; set; }
|
|
|
|
[XmlAttribute("documentDate")]
|
|
public string CreationDate { get; set; }
|
|
|
|
[XmlAttribute("documentType")]
|
|
public string DocumentType { get; set; }
|
|
|
|
[XmlElement("ArchiveOutput")]
|
|
public XmlOsgArchiveOutput ArchiveOutput { get; set; }
|
|
|
|
[XmlElement("OriginalAddress")]
|
|
public XmlOsgOriginalAddress OriginalAddress { get; set; }
|
|
|
|
public string XmlOutput { get; set; }
|
|
}
|
|
|
|
[Serializable]
|
|
[DesignerCategory("code")]
|
|
[XmlType(AnonymousType = true)]
|
|
[XmlRoot("ArchiveOutput", IsNullable = false)]
|
|
public class XmlOsgArchiveOutput
|
|
{
|
|
[XmlAttribute("startPage")]
|
|
public int StartingPage { get; set; }
|
|
|
|
[XmlAttribute("numberOfPages")]
|
|
public int NumberOfPages { get; set; }
|
|
|
|
[XmlAttribute("fileSeq")]
|
|
public int PdfIndex { get; set; }
|
|
}
|
|
|
|
|
|
[Serializable]
|
|
[DesignerCategory("code")]
|
|
[XmlType(AnonymousType = true)]
|
|
[XmlRoot("OriginalAddress", IsNullable = false)]
|
|
public class XmlOsgOriginalAddress
|
|
{
|
|
[XmlAttribute("addr1")]
|
|
public string EntityName { get; set; }
|
|
}
|