using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class PracticeAttempts
    {
        public PracticeAttempts()
        {
            PracticeAttemptAnswers = new HashSet<PracticeAttemptAnswers>();
        }

        public int Id { get; set; }
        public int PracticeId { get; set; }
        public int? CorrectCount { get; set; }
        public int? IncorrectCount { get; set; }
        public int? ExpiredCount { get; set; }
        public int? UnattemptedCount { get; set; }
        public string Status { get; set; }
        public DateTime? CreatedOn { get; set; }
        public int CreatedBy { get; set; }
        public DateTime UpdatedOn { get; set; }
        public int UpdatedBy { get; set; }
        public bool? IsActive { get; set; }

        public virtual Users CreatedByNavigation { get; set; }
        public virtual Practices Practice { get; set; }
        public virtual Users UpdatedByNavigation { get; set; }
        public virtual ICollection<PracticeAttemptAnswers> PracticeAttemptAnswers { get; set; }
    }
}
