First version of the Main form that is able to pull all the required data from the SQL database. Holiday detection is disabled for this build. Fixed some bugs with the debug database conversion code. Still missing Ad Special data in the conversion code.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
namespace AdvertsingProfitControl
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
public partial class Invoice
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[Column(TypeName = "date")]
|
||||
public DateTime InvoiceDate { get; set; }
|
||||
|
||||
public int InvoiceNumber { get; set; }
|
||||
|
||||
public decimal? InvoiceNetAmountAtCost { get; set; }
|
||||
|
||||
public decimal? InvoiceNetAmount { get; set; }
|
||||
|
||||
[StringLength(256)]
|
||||
public string InvoiceNote { get; set; }
|
||||
|
||||
public int FkSupplierId { get; set; }
|
||||
|
||||
public int FkDateId { get; set; }
|
||||
|
||||
public virtual WeekEndingDate WeekEndingDate { get; set; }
|
||||
[Required]
|
||||
public virtual Supplier Supplier { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user