using System;
using System.Collections.Generic;

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

        public int Id { get; set; }
        public int ExamId { get; set; }
        public int RemainingTimeSeconds { get; set; }
        public double? Score { get; set; }
        public int? AverageTimeSeconds { 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 DateTime? LastPausedAt { get; set; }
        public string PuasedPeriod { get; set; }

        public virtual Exams Exam { get; set; }
        public virtual ICollection<ExamAttemptsAnswer> ExamAttemptsAnswer { get; set; }
    }
}
