using System.ComponentModel.DataAnnotations.Schema;
using Shared.DTOs;
namespace  Back.Data.Models
{
    public class SentTax
    {
        public int ID { get; set; }
        public int InvoiceID { get; set; }
        public string Date { get; set; }
        public string Time { get; set; }
        public string uId { get; set; }
        public string ReferenceNumber { get; set; }
        public InvoiceType InvoiceType { get; set; }
        [Column(TypeName = "nvarchar(MAX)")]
        public string InvoiceModel { get; set; }
        [Column(TypeName = "nvarchar(MAX)")]
        public string? ResponseModel { get; set; }
        [Column(TypeName = "nvarchar(MAX)")]
        public string? InquiryResultModel { get; set; }
        public SentStatus SentStatus { get; set; }

        #region Navigation
        [ForeignKey("InvoiceID")]
        public virtual Invoice invoice { get; set; }
        #endregion

    }
}
