Split the database objects out into a seperate project. Needs renaming in some areas and updates in the installer. Otherwise first version of a proper data DLL file.

This commit is contained in:
2017-06-22 17:02:01 -05:00
parent fc472928cc
commit 308b60bd84
36 changed files with 296 additions and 1255 deletions
@@ -0,0 +1,39 @@
using System.ComponentModel.DataAnnotations;
namespace AdvertisingProfitControlData
{
public class Projection
{
public int Id { get; set; }
[StringLength(128)]
public string Sold { get; set; }
[StringLength(128)]
public string SalePrice { get; set; }
public decimal? TotalSales { get; set; }
public decimal? Cost { get; set; }
public decimal? ProfitReturn { get; set; }
public decimal? TotalProfitReturn { 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; }
}
}