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:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user