This commit is contained in:
admin
2020-12-18 16:35:46 +08:00
parent 600fd27b76
commit 9881320eda
5 changed files with 126 additions and 109 deletions

View File

@@ -8,41 +8,33 @@ namespace U8AppMain.Purchase
{
public class ufinterface
{
//roottag="purchaseapp" billtype="" docid="123" receiver="u8" sender="003"
// proc="add" codeexchanged="N" exportneedexch="N" version="2.0"
[System.Xml.Serialization.XmlAttribute]
public string roottag { get; set; }
public string roottag { get; set; } = "purchaseapp";
[System.Xml.Serialization.XmlAttribute]
public string billtype { get; set; }
public string billtype { get; set; } = "";
[System.Xml.Serialization.XmlAttribute]
public string docid { get; set; }
public string docid { get; set; } = "123";
[System.Xml.Serialization.XmlAttribute]
public string receiver { get; set; }
public string receiver { get; set; } = "u8";
[System.Xml.Serialization.XmlAttribute]
public string sender { get; set; }
public string sender { get; set; } = "003";
[System.Xml.Serialization.XmlAttribute]
public string proc { get; set; }
public string proc { get; set; } = "add";
[System.Xml.Serialization.XmlAttribute]
public string codeexchanged { get; set; }
public string codeexchanged { get; set; } = "N";
[System.Xml.Serialization.XmlAttribute]
public string exportneedexch { get; set; }
public string exportneedexch { get; set; } = "N";
[System.Xml.Serialization.XmlAttribute]
public string version { get; set; }
public string version { get; set; } = "2.0";
//roottag="purchaseapp"
// billtype=""
// docid="123"
// receiver="u8"
// sender="003"
// proc="add"
// codeexchanged="N"
// exportneedexch="N"
// version="2.0"
public PurchaseEnity purchaseapp { get; set; } = new PurchaseEnity();
public PurchaseEnity purchaseapp { get; set; } = new PurchaseEnity();