Spaces:
Sleeping
Sleeping
File size: 877 Bytes
c2908d2 a19fd25 c2908d2 8ded86b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | using OilShopManagement.Models;
namespace OilShopManagement.ViewModels;
public class DashboardViewModel
{
public int TotalProducts { get; set; }
public int TotalCustomers { get; set; }
public int TotalInvoicesToday { get; set; }
public int LowStockCount { get; set; }
public decimal SalesToday { get; set; }
public decimal SalesThisMonth { get; set; }
public decimal ProfitToday { get; set; }
public decimal ProfitThisMonth { get; set; }
public IEnumerable<Invoice> RecentInvoices { get; set; } = [];
public IEnumerable<Product> LowStockProducts { get; set; } = [];
public IEnumerable<StockTransaction> RecentStockMovements { get; set; } = [];
public List<string> ChartLabels { get; set; } = [];
public List<decimal> ChartSalesData { get; set; } = [];
public List<decimal> ChartProfitData { get; set; } = [];
}
|