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