using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace InventoryTraker.Web.Core { public class Inventory { [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public string Id { get; set; } [Required] public string ProgramName { get; set; } public string ProgramSubtype { get; set; } public string Description { get; set; } public virtual ICollection Transactions { get; set; } public int Quantity { get; set; } [Required] public DateTime ShredReadyDate { get; set; } [Required] public DateTime AddedDate { get; set; } public string Memo { get; set; } } }