mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-21 15:27:15 +00:00
progress has been made. Beer o'clock
This commit is contained in:
27
src/bnhtrade.Core/Model/Account/Contact.cs
Normal file
27
src/bnhtrade.Core/Model/Account/Contact.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace bnhtrade.Core.Model.Account
|
||||
{
|
||||
public class Contact
|
||||
{
|
||||
public int ContactId { get; set; }
|
||||
|
||||
public string ContantName { get; set; }
|
||||
|
||||
public string ContactEbayName { get; set; }
|
||||
|
||||
public string ContactEbayEmail { get; set; }
|
||||
|
||||
public string ContactPaypalName { get; set; }
|
||||
|
||||
public string ContactPaypalEmail { get; set; }
|
||||
|
||||
public DateTime Created { get; set; }
|
||||
|
||||
public DateTime? Modified { get; set; }
|
||||
}
|
||||
}
|
||||
52
src/bnhtrade.Core/Model/Account/PurchaseInvoice.cs
Normal file
52
src/bnhtrade.Core/Model/Account/PurchaseInvoice.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace bnhtrade.Core.Model.Account
|
||||
{
|
||||
public class PurchaseInvoice
|
||||
{
|
||||
public int PurchaseID { get; set; }
|
||||
public int PurchaseNumber { get; set; }
|
||||
public int? RecordID { get; set; }
|
||||
public DateTime PurchaseDate { get; set; }
|
||||
public Model.Account.Contact Contact { get; set; }
|
||||
public string SupplierRef { get; set; }
|
||||
public string AccountCurrency { get; set; }
|
||||
public string PurchaseChannel { get; set; }
|
||||
public string CurrencyCode { get; set; }
|
||||
public decimal PurchaseTotalAmount { get; set; }
|
||||
public bool VatInclusiveAmounts { get; set; }
|
||||
public DateTime RecordCreated { get; set; }
|
||||
public DateTime RecordModified { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
|
||||
public List<Model.Account.PurchaseInvoice.Line> InvoiceLines { get; set; }
|
||||
|
||||
public class Line
|
||||
{
|
||||
public int PurchaseLineId { get; set; }
|
||||
public int PurchaseId { get; set; }
|
||||
public string Status { get; set; }
|
||||
public string SupplierRef { get; set; }
|
||||
public DateTime? CheckedIn { get; set; }
|
||||
public string ItemDescription { get; set; }
|
||||
public int ItemQuantity { get; set; }
|
||||
public decimal ItemGross { get; set; }
|
||||
public decimal ItemTax { get; set; }
|
||||
public decimal ShippingGross { get; set; }
|
||||
public decimal ShippingTax { get; set; }
|
||||
public decimal OtherGross { get; set; }
|
||||
public decimal OtherTax { get; set; }
|
||||
public string AccountTaxCode { get; set; }
|
||||
public int? Tax_AccountTransactionId { get; set; }
|
||||
public int Net_AccountChartOfId { get; set; }
|
||||
public int? Net_AccountTransactionId { get; set; }
|
||||
public DateTime RecordCreated { get; set; }
|
||||
public DateTime RecordModified { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
24
src/bnhtrade.Core/Model/Account/PurchaseInvoiceLineStatus.cs
Normal file
24
src/bnhtrade.Core/Model/Account/PurchaseInvoiceLineStatus.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace bnhtrade.Core.Model.Account
|
||||
{
|
||||
public class PurchaseInvoiceLineStatus
|
||||
{
|
||||
public PurchaseInvoiceLineStatus(int statusId, string statusName, int listSort)
|
||||
{
|
||||
PurchaseLineStatusId = statusId;
|
||||
PurchaseLineStatusName = statusName;
|
||||
ListSort = listSort;
|
||||
}
|
||||
|
||||
public int PurchaseLineStatusId { get; private set; }
|
||||
|
||||
public string PurchaseLineStatusName { get; private set; }
|
||||
|
||||
public int ListSort { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user