35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace AyaNova.Models
|
|
{
|
|
//Note this is how to define a View backed model with no key (id)
|
|
|
|
[Microsoft.EntityFrameworkCore.Keyless]
|
|
public class ViewPartInventoryList
|
|
{
|
|
public long PartId { get; set; }
|
|
public string PartDescription { get; set; }
|
|
public string PartName { get; set; }
|
|
public bool PartActive { get; set; }
|
|
public decimal PartCost { get; set; }
|
|
public decimal PartRetail { get; set; }
|
|
public List<string> PartTags { get; set; }
|
|
public long? PartWarehouseId { get; set; }
|
|
public string PartWarehouseName { get; set; }
|
|
public long? WholesalerId { get; set; }
|
|
public string WholesalerName { get; set; }
|
|
public long? AltWholesalerId { get; set; }
|
|
public string AltWholesalerName { get; set; }
|
|
public decimal OnHandQty { get; set; }
|
|
public decimal OnOrderQty { get; set; }
|
|
public decimal OnOrderCommittedQty { get; set; }
|
|
public decimal RestockMinQty { get; set; }
|
|
public decimal ReOrderQty { get; set; }
|
|
public long PartInventoryId { get; set; }
|
|
public string PartInventoryDescription { get; set; }
|
|
|
|
|
|
}//eoc
|
|
|
|
}//eons
|