36 lines
815 B
C#
36 lines
815 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BeWo.Data.Models.XRechnung
|
|
{
|
|
public class XRechnung
|
|
{
|
|
public XRInvoice Invoice { get; set; }
|
|
public XRSeller Seller { get; set; }
|
|
public XRBuyer Buyer { get; set; }
|
|
public List<XRPosition> Position { get; set; }
|
|
|
|
public XRechnung()
|
|
{
|
|
Invoice = new XRInvoice();
|
|
Seller = new XRSeller();
|
|
Buyer = new XRBuyer();
|
|
Position = new List<XRPosition>();
|
|
}
|
|
|
|
//public static XRechnung GetExample()
|
|
//{
|
|
// var xrec = new XRechnung();
|
|
|
|
// xrec.Invoice.Type = "380";
|
|
// xrec.Invoice.Number = "BWP28418";
|
|
// xrec.Invoice.Date = "20141002";
|
|
// xrec.Invoice.Currency = "EUR";
|
|
// xrec.Invoice.Notice = "Rechnung gemäß Bestellung vom 01.03.2018.";
|
|
//}
|
|
}
|
|
}
|