23 lines
635 B
C#
23 lines
635 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ConsoleApp3.DataContracts
|
|
{
|
|
[DataContract]
|
|
internal class ModelRechnung
|
|
{
|
|
[DataMember(Name = "invoice", EmitDefaultValue = false)]
|
|
[JsonProperty(PropertyName = "invoice")]
|
|
public Invoice? Invoice { get; set; }
|
|
|
|
[DataMember(Name = "invoicePosSave", EmitDefaultValue = false)]
|
|
[JsonProperty(PropertyName = "invoicePosSave")]
|
|
public InvoicePosSave[]? InvoicePosSaves { get; set; }
|
|
}
|
|
}
|