namespace AyaNova.Models { //Note this is how to define a View backed model with no key (id) [Microsoft.EntityFrameworkCore.Keyless] public class ViewRestockRequired { public long PartId { get; set; } public long PartWarehouseId { get; set; } public string PartName { get; set; } public string PartDescription { get; set; } public string DisplayWarehouse { get; set; } public long ManufacturerId { get; set; } public string DisplayManufacturer { get; set; } public long WholesalerId { get; set; } public string DisplayWholesaler { get; set; } public long AlternativeWholesalerId { get; set; } public string DisplayAlternativeWholesaler { get; set; } public decimal MinimumQuantity { get; set; } public decimal Balance { get; set; } public decimal OnOrderQuantity { get; set; } public decimal RequiredQuantity { get; set; } }//eoc }//eons