using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AdvertisingProfitControlData { [Table("Inventory")] public class Inventory { public int Id { get; set; } [StringLength(256)] public string BeginningInventory { get; set; } [StringLength(256)] public string Recieved { get; set; } [StringLength(256)] public string TotalInventory { get; set; } [StringLength(256)] public string EndingInventory { get; set; } public int RowPosition { get; set; } public int RowAttribute { get; set; } public int FkAdItemId { get; set; } public int? FkAdSpecialId { get; set; } public int FkDateId { get; set; } public virtual AdItem AdItem { get; set; } public virtual AdSpecial AdSpecial { get; set; } public virtual WeekEndingDate WeekEndingDate { get; set; } } }