| 1 | using System;
|
|---|
| 2 |
|
|---|
| 3 | namespace StockMaster.ViewModels
|
|---|
| 4 | {
|
|---|
| 5 | public class StockByWarehouseViewModel
|
|---|
| 6 | {
|
|---|
| 7 | public string WarehouseName { get; set; }
|
|---|
| 8 | public int TotalUnits { get; set; }
|
|---|
| 9 | public decimal TotalStockValue { get; set; }
|
|---|
| 10 | }
|
|---|
| 11 |
|
|---|
| 12 | public class ProductRevenueViewModel
|
|---|
| 13 | {
|
|---|
| 14 | public string ProductName { get; set; }
|
|---|
| 15 | public int TotalUnitsSold { get; set; }
|
|---|
| 16 | public decimal TotalRevenue { get; set; }
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | public class POStatusViewModel
|
|---|
| 20 | {
|
|---|
| 21 | public int PoId { get; set; }
|
|---|
| 22 | public string Status { get; set; }
|
|---|
| 23 | public string ProductName { get; set; }
|
|---|
| 24 | public int OrderedQuantity { get; set; }
|
|---|
| 25 | public int ReceivedQuantity { get; set; }
|
|---|
| 26 | public int PendingQuantity { get; set; }
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| 29 | public class CategoryRevenueViewModel
|
|---|
| 30 | {
|
|---|
| 31 | public string CategoryName { get; set; }
|
|---|
| 32 | public decimal TotalRevenue { get; set; }
|
|---|
| 33 | }
|
|---|
| 34 |
|
|---|
| 35 | public class WarehouseCapacityViewModel
|
|---|
| 36 | {
|
|---|
| 37 | public string WarehouseName { get; set; }
|
|---|
| 38 | public int Capacity { get; set; }
|
|---|
| 39 | public int UnitsInStock { get; set; }
|
|---|
| 40 | public double OccupancyPercentage { get; set; }
|
|---|
| 41 | }
|
|---|
| 42 |
|
|---|
| 43 | public class StagnantProductViewModel
|
|---|
| 44 | {
|
|---|
| 45 | public string ProductName { get; set; }
|
|---|
| 46 | public string Sku { get; set; }
|
|---|
| 47 | public int QuantityOnHand { get; set; }
|
|---|
| 48 | public string LastSoldDate { get; set; }
|
|---|
| 49 | }
|
|---|
| 50 |
|
|---|
| 51 | public class StockSufficiencyViewModel
|
|---|
| 52 | {
|
|---|
| 53 | public string ProductName { get; set; }
|
|---|
| 54 | public int SoldLast60Days { get; set; }
|
|---|
| 55 | public double AvgDailySales { get; set; }
|
|---|
| 56 | public double ProjectedNext30Days { get; set; }
|
|---|
| 57 | public int CurrentTotalStock { get; set; }
|
|---|
| 58 | public string StockStatus { get; set; }
|
|---|
| 59 | }
|
|---|
| 60 |
|
|---|
| 61 | public class AnnualSalesReportViewModel
|
|---|
| 62 | {
|
|---|
| 63 | public string SalesMonth { get; set; }
|
|---|
| 64 | public string WarehouseName { get; set; }
|
|---|
| 65 | public string CategoryName { get; set; }
|
|---|
| 66 | public string SupplierName { get; set; }
|
|---|
| 67 | public int TotalOrderCount { get; set; }
|
|---|
| 68 | public int TotalUnitsSold { get; set; }
|
|---|
| 69 | public decimal TotalGrossRevenue { get; set; }
|
|---|
| 70 | }
|
|---|
| 71 |
|
|---|
| 72 | public class DetailedPOViewModel
|
|---|
| 73 | {
|
|---|
| 74 | public int PoId { get; set; }
|
|---|
| 75 | public string Status { get; set; }
|
|---|
| 76 | public DateTime OrderDate { get; set; }
|
|---|
| 77 | public DateTime ExpectedDeliveryDate { get; set; }
|
|---|
| 78 | public string WarehouseName { get; set; }
|
|---|
| 79 | public string SupplierName { get; set; }
|
|---|
| 80 | public string ProductName { get; set; }
|
|---|
| 81 | public int OrderedQty { get; set; }
|
|---|
| 82 | public int ReceivedQty { get; set; }
|
|---|
| 83 | public int RemainingToReceive { get; set; }
|
|---|
| 84 | }
|
|---|
| 85 | } |
|---|