Files
InventoryTracker/InventoryTraker.Web/Core/Inventory.cs
T
2016-08-22 11:03:00 -04:00

27 lines
546 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace InventoryTraker.Web.Core
{
// AKA Commodity
public class Inventory
{
public int Id { get; set; }
public virtual InventoryType InventoryType { get; set; }
public virtual ICollection<Transaction> Transactions { get; set; }
[Required]
public DateTime ExpirationDate { get; set; }
[Required]
public DateTime AddedDate { get; set; }
[Required]
public int Quantity { get; set; }
public string Memo { get; set; }
}
}