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; }
	}
}