Initial commit
Initial commit til Git. V2 er deployed
This commit is contained in:
15
PointOfSale/Pos.Ui/Pos/Models/AmountGridModel.cs
Normal file
15
PointOfSale/Pos.Ui/Pos/Models/AmountGridModel.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pos.Models
|
||||
{
|
||||
public class AmountGridModel
|
||||
{
|
||||
public string PaymentMethodText { get; set; }
|
||||
public decimal Amount { get; set; }
|
||||
public string AmountText { get; set; }
|
||||
}
|
||||
}
|
||||
9
PointOfSale/Pos.Ui/Pos/Models/Enums.cs
Normal file
9
PointOfSale/Pos.Ui/Pos/Models/Enums.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Pos.Models;
|
||||
|
||||
public enum PaymentMethod
|
||||
{
|
||||
Cash,
|
||||
Card,
|
||||
GiftCard,
|
||||
MobilePay
|
||||
}
|
||||
17
PointOfSale/Pos.Ui/Pos/Models/PriceLineModel.cs
Normal file
17
PointOfSale/Pos.Ui/Pos/Models/PriceLineModel.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pos.Models
|
||||
{
|
||||
public class PriceLineModel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int NumberProducts { get; set; }
|
||||
public decimal Price { get; set; }
|
||||
public int Id { get; set; }
|
||||
public bool IsProductGroup { get; set; }
|
||||
}
|
||||
}
|
||||
15
PointOfSale/Pos.Ui/Pos/Models/SaleGridInternalModel.cs
Normal file
15
PointOfSale/Pos.Ui/Pos/Models/SaleGridInternalModel.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pos.Models
|
||||
{
|
||||
public class SaleGridInternalModel
|
||||
{
|
||||
public decimal InternPrice { get; set; }
|
||||
public int InternPieces { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
17
PointOfSale/Pos.Ui/Pos/Models/SaleGridModel.cs
Normal file
17
PointOfSale/Pos.Ui/Pos/Models/SaleGridModel.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pos.Models
|
||||
{
|
||||
public class SaleGridModel
|
||||
{
|
||||
public string Navn { get; set; }
|
||||
public string Stk { get; set; }
|
||||
public string Pris { get; set; }
|
||||
public string Total { get; set; }
|
||||
public SaleGridInternalModel SaleGridInternalModel { get; set; }
|
||||
}
|
||||
}
|
||||
15
PointOfSale/Pos.Ui/Pos/Models/TotalSaleCategory.cs
Normal file
15
PointOfSale/Pos.Ui/Pos/Models/TotalSaleCategory.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pos.Models
|
||||
{
|
||||
public class TotalSaleCategory
|
||||
{
|
||||
public string Category { get; set; }
|
||||
public decimal Sale { get; set; }
|
||||
public string SaleString { get; set; }
|
||||
}
|
||||
}
|
||||
15
PointOfSale/Pos.Ui/Pos/Models/TotalSaleDetail.cs
Normal file
15
PointOfSale/Pos.Ui/Pos/Models/TotalSaleDetail.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pos.Models
|
||||
{
|
||||
public class TotalSaleDetail
|
||||
{
|
||||
public decimal TotalSale { get; set; }
|
||||
public int TotalCustomer { get; set; }
|
||||
public List<TotalSaleCategory> TotalSaleCategories { get; set; } = new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user