添加项目文件。

This commit is contained in:
admin
2020-12-18 11:10:50 +08:00
parent 10dec430de
commit 42e945036f
27 changed files with 1222 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace U8AppMain.Purchase
{
public class BodyEnity
{
[System.Xml.Serialization.XmlElement(Type =typeof(entry),ElementName = "entry")]
public List<entry> entries { get; set; } = new List<entry>();
}
}

View File

@@ -0,0 +1,88 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace U8AppMain.Purchase
{
public class entry
{
public string vendorcode { get; set; }
public string inventorycode { get; set; }
public int quantity { get; set; }
public decimal price { get; set; }
public decimal taxrate { get; set; }
public decimal taxprice { get; set; }
public decimal money { get; set; }
public decimal tax { get; set; }
public decimal sum { get; set; }
public string requiredate { get; set; }
public string arrivedate { get; set; }
public string item_class { get; set; }
public string item_code { get; set; }
public decimal btaxcost { get; set; }
public decimal num { get; set; }
public string unitid { get; set; }
public string deptcodeexec { get; set; }
public string personcodeexec { get; set; }
public string currency_name { get; set; }
public decimal currency_rate { get; set; }
public string originalprice { get; set; }
public string originalmoney { get; set; }
public string originaltax { get; set; }
public string originalsum { get; set; }
public string ivouchrowno { get; set; }
// <vendorcode />
//<inventorycode>107001</inventorycode>
//<quantity>456</quantity>
//<price />
//<taxrate />
//<taxprice />
//<money />
//<tax />
//<sum />
//<requiredate>2020-12-17</requiredate>
//<arrivedate />
//<item_class />
//<item_code />
//<item_name />
//<btaxcost />
//<num />
//<unitid />
//<deptcodeexec />
//<personcodeexec />
//<currency_name>人民币</currency_name>
//<currency_rate>1</currency_rate>
//<originalprice />
//<originaltaxedprice />
//<originalmoney />
//<originaltax />
//<originalsum />
//<ivouchrowno />
}
}

View File

@@ -0,0 +1,67 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace U8AppMain.Purchase
{
public class HeaderEnity
{
public string code { get; set; }
public string date { get; set; }
public string departmentcode { get; set; }
public string personcode { get; set; }
public string purchasetypecode { get; set; }
public string businesstype { get; set; }
public string maker { get; set; }
public string define1 { get; set; }
public string define2 { get; set; }
public string define3 { get; set; }
public string define4 { get; set; }
public string define5 { get; set; }
public string define6 { get; set; }
public string define7 { get; set; }
public string define8 { get; set; }
public string define9 { get; set; }
public string define10 { get; set; }
public string define11{ get; set; }
public string define12 { get; set; }
public string define13 { get; set; }
public string define14 { get; set; }
public string define15 { get; set; }
public string define16 { get; set; }
public string memory { get; set; }
// <code>CGQGD2132131</code>
//<date>2020-12-17</date>
//<departmentcode>51</departmentcode>
//<personcode>0031</personcode>
//<purchasetypecode>01</purchasetypecode>
//<businesstype>普通采购</businesstype>
//<maker>苏青红</maker>
//<define1 />
//<define2 />
//<define3 />
//<define4 />
//<define5 />
//<define6 />
//<define7 />
//<define8 />
//<define9 />
//<define10 />
//<define11 />
//<define12 />
//<define13 />
//<define14 />
//<define15 />
//<define16 />
//<memory />
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace U8AppMain.Purchase
{
public class PurchaseEnity
{
public HeaderEnity header { get; set; } = new HeaderEnity();
//public BodyEnity body { get; set; } = new BodyEnity();
public List<entry> body { get; set; } = new List<entry>();
}
}

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace U8AppMain.Purchase
{
public class ufinterface
{
[System.Xml.Serialization.XmlAttribute]
public string roottag { get; set; }
[System.Xml.Serialization.XmlAttribute]
public string billtype { get; set; }
[System.Xml.Serialization.XmlAttribute]
public string docid { get; set; }
[System.Xml.Serialization.XmlAttribute]
public string receiver { get; set; }
[System.Xml.Serialization.XmlAttribute]
public string sender { get; set; }
[System.Xml.Serialization.XmlAttribute]
public string proc { get; set; }
[System.Xml.Serialization.XmlAttribute]
public string codeexchanged { get; set; }
[System.Xml.Serialization.XmlAttribute]
public string exportneedexch { get; set; }
[System.Xml.Serialization.XmlAttribute]
public string version { get; set; }
//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();
}
}