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; }

        [Required]
        [StringLength(256)]
        public string 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; }

        public virtual Supplier Supplier { get; set; }
    }
}
