Files
moadiran/Back/Data/Models/CreditDocuments.cs
2024-07-29 15:29:46 +03:30

20 lines
499 B
C#

using Shared.Enums;
using System.ComponentModel.DataAnnotations.Schema;
namespace Back.Data.Models
{
public class CreditDocuments
{
public int ID { get; set; }
public int CompanyID { get; set; }
public string Date { get; set; }
public string Title { get; set; }
public CreditDocumentType type { get; set; }
public decimal Value { get; set; }
[ForeignKey("CompanyID")]
public virtual Company company { get; set; }
}
}