....
This commit is contained in:
26
Back/Data/Models/CODItem.cs
Normal file
26
Back/Data/Models/CODItem.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Back.Data.Models
|
||||
{
|
||||
public class CODItem
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public int UnitID { get; set; }
|
||||
[MaxLength(13)]
|
||||
public string? ItemTaxID { get; set; }
|
||||
public int CompanyID { get; set; }
|
||||
public string Title { get; set; }
|
||||
public int TaxRate { get; set; }
|
||||
public bool IsDeleted { get; set; }
|
||||
|
||||
|
||||
#region Navigation
|
||||
[ForeignKey("UnitID")]
|
||||
public virtual CODUnit CODUnit { get; set; }
|
||||
[ForeignKey("CompanyID")]
|
||||
public virtual Company Company { get; set; }
|
||||
public virtual ICollection<InvoiceItem> invoiceDetails { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user