CreditDocuments

This commit is contained in:
mmrbnjd
2024-07-29 15:29:46 +03:30
parent fe95e2b526
commit 68667b5f95
8 changed files with 38 additions and 13 deletions

View File

@@ -0,0 +1,19 @@
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; }
}
}