Upload project.

This commit is contained in:
StevenJW
2020-06-09 21:21:37 +01:00
parent 251cec2dac
commit 15556e92aa
196 changed files with 86759 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ThAmCo.Stock.Models.Dto
{
public class ProductDto
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using System;
namespace ThAmCo.Stock.Models.Dto
{
public class ProductOrderDto
{
public int Id { get; set; }
public string AccountName { get; set; }
public string CardNumber { get; set; }
public int ProductId { get; set; }
public int Quantity { get; set; }
public DateTime? When { get; set; }
public string ProductName { get; set; }
public string ProductEan { get; set; }
public double TotalPrice { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
namespace ThAmCo.Stock.Models.Dto
{
public class ProductOrderPostDto
{
public string AccountName { get; set; }
public string CardNumber { get; set; }
public int ProductId { get; set; }
public int Quantity { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ThAmCo.Stock.Models.Dto
{
public class ProductStockDetailsDto
{
public int ProductID { get; set; }
public int Stock { get; set; }
public double Price { get; set; }
}
}

View File

@@ -0,0 +1,10 @@
using ThAmCo.Stock.Data;
namespace ThAmCo.Stock.Models.Dto
{
public class ProductStockDto
{
public ProductStock ProductStock { get; set; }
public Price Price { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ThAmCo.Stock.Data;
namespace ThAmCo.Stock.Models.Dto
{
public class ProductStockPricingHistoryDto
{
public int ProductID { get; set; }
public int Stock { get; set; }
public List<Price> Prices { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using System;
namespace ThAmCo.Stock.Models.Dto
{
public class VendorProductDto
{
public int Id { get; set; }
public string Ean { get; set; }
public int CategoryId { get; set; }
public string CategoryName { get; set; }
public int BrandId { get; set; }
public string BrandName { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public double Price { get; set; }
public bool InStock { get; set; }
public DateTime? ExpectedRestock { get; set; }
}
}