Rechnungen werden in lexoffice nun erstellt
This commit is contained in:
33
ConsoleApp3/DataContracts/InvoiceItem.cs
Normal file
33
ConsoleApp3/DataContracts/InvoiceItem.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp3.DataContracts
|
||||
{
|
||||
public record InvoiceItem
|
||||
{
|
||||
internal InvoiceItem(string invoiceId, string customer, DateTime date, Employee employee, int account,
|
||||
string description, decimal amountHours, decimal price)
|
||||
{
|
||||
InvoiceId = invoiceId;
|
||||
Customer = customer;
|
||||
Date = date;
|
||||
Employee = employee;
|
||||
Account = account;
|
||||
Description = description;
|
||||
AmountHours = amountHours;
|
||||
Price = price;
|
||||
}
|
||||
|
||||
public string InvoiceId { get; }
|
||||
public string Customer { get; }
|
||||
public DateTime Date { get; }
|
||||
public Employee Employee { get; }
|
||||
public int Account { get; }
|
||||
public string Description { get; }
|
||||
public decimal AmountHours { get; }
|
||||
public decimal Price { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user