Move logic out the the class libs
This commit is contained in:
19
PointOfSale/Pos.Models/Json/SaleOfDayModel.cs
Normal file
19
PointOfSale/Pos.Models/Json/SaleOfDayModel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Pos.Json
|
||||
{
|
||||
public class SaleOfDayModel
|
||||
{
|
||||
public DateTime Date { get; set; }
|
||||
public int TotalCustomers { get; set; }
|
||||
public decimal TotalSale { get; set; }
|
||||
public List<SaleOfDayDetail> SaleOfDayDetail { get; set; } = new List<SaleOfDayDetail>();
|
||||
}
|
||||
|
||||
public class SaleOfDayDetail
|
||||
{
|
||||
public string Category { get; set; } = string.Empty;
|
||||
public decimal TotalSale { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user