Files
U8-Import/NX.ERP.U8.App/Purchase/ufinterface.cs

42 lines
1.4 KiB
C#
Raw Normal View History

2020-12-18 11:10:50 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
2021-01-05 11:11:28 +08:00
2020-12-18 11:10:50 +08:00
namespace U8AppMain.Purchase
{
public class ufinterface
{
2020-12-18 16:35:46 +08:00
//roottag="purchaseapp" billtype="" docid="123" receiver="u8" sender="003"
// proc="add" codeexchanged="N" exportneedexch="N" version="2.0"
2020-12-18 11:10:50 +08:00
[System.Xml.Serialization.XmlAttribute]
2020-12-18 16:35:46 +08:00
public string roottag { get; set; } = "purchaseapp";
2020-12-18 11:10:50 +08:00
[System.Xml.Serialization.XmlAttribute]
2020-12-18 16:35:46 +08:00
public string billtype { get; set; } = "";
2020-12-18 11:10:50 +08:00
[System.Xml.Serialization.XmlAttribute]
2021-01-18 15:10:26 +08:00
public string docid { get; set; } = "123";
2020-12-18 11:10:50 +08:00
[System.Xml.Serialization.XmlAttribute]
2020-12-18 16:35:46 +08:00
public string receiver { get; set; } = "u8";
2020-12-18 11:10:50 +08:00
[System.Xml.Serialization.XmlAttribute]
2021-01-23 11:00:17 +08:00
public string sender { get; set; } = System.Configuration.ConfigurationManager.AppSettings["EaiSender"];
2020-12-18 11:10:50 +08:00
[System.Xml.Serialization.XmlAttribute]
2020-12-18 16:35:46 +08:00
public string proc { get; set; } = "add";
2020-12-18 11:10:50 +08:00
[System.Xml.Serialization.XmlAttribute]
2020-12-18 16:35:46 +08:00
public string codeexchanged { get; set; } = "N";
2020-12-18 11:10:50 +08:00
[System.Xml.Serialization.XmlAttribute]
2020-12-18 16:35:46 +08:00
public string exportneedexch { get; set; } = "N";
2020-12-18 11:10:50 +08:00
[System.Xml.Serialization.XmlAttribute]
2020-12-18 16:35:46 +08:00
public string version { get; set; } = "2.0";
2020-12-18 11:10:50 +08:00
2020-12-18 16:35:46 +08:00
public PurchaseEnity purchaseapp { get; set; } = new PurchaseEnity();
2020-12-18 11:10:50 +08:00
}
}