34 lines
881 B
C#
34 lines
881 B
C#
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; }
|
|
}
|
|
}
|