This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cardmarketbot/ConsoleApp3/DataContracts/InvoiceItem.cs

34 lines
986 B
C#

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; }
}
}