using System.ComponentModel.DataAnnotations.Schema;

namespace  Back.Data.Models
{
    public class InvoiceStatusChang 
    {
        public int ID { get; set; }
        public int? InvoiceID { get; set; }
        public string FromStatus { get; set; }
        public string ToStatus { get; set; }
        public string Date { get; set; }
        public int? UserID { get; set; }

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