using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class Users
    {
        public Users()
        {
            ActivityLogs = new HashSet<ActivityLogs>();
            BookmarkedExams = new HashSet<BookmarkedExams>();
            BookmarkedNotes = new HashSet<BookmarkedNotes>();
            BookmarkedPractices = new HashSet<BookmarkedPractices>();
            BookmarkedQuestions = new HashSet<BookmarkedQuestions>();
            ExamAttempts = new HashSet<ExamAttempts>();
            ExamAttemptsAnswer = new HashSet<ExamAttemptsAnswer>();
            ExamAttemptsAssessment = new HashSet<ExamAttemptsAssessment>();
            ExamPracticeAttempts = new HashSet<ExamPracticeAttempts>();
            ExamPractices = new HashSet<ExamPractices>();
            ExamSections = new HashSet<ExamSections>();
            Exams = new HashSet<Exams>();
            PasswordReset = new HashSet<PasswordReset>();
            Questions = new HashSet<Questions>();
            StudentAnswers = new HashSet<StudentAnswers>();
            StudyNotes = new HashSet<StudyNotes>();
            UserGroupMembers = new HashSet<UserGroupMembers>();
            UserLogs = new HashSet<UserLogs>();
        }

        public int Id { get; set; }
        public int RoleId { get; set; }
        public int InstituteId { get; set; }
        public int? LanguageId { get; set; }
        public int? RegistrationId { get; set; }
        public DateTime? RegistrationDatetime { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime? DateOfBirth { get; set; }
        public string Gender { get; set; }
        public string EmailId { get; set; }
        public string MobileNo { get; set; }
        public byte[] Photo { get; set; }
        public string Address { get; set; }
        public string City { get; set; }
        public int? StateId { get; set; }
        public string Country { get; set; }
        public string PinCode { get; set; }
        public string Latitude { get; set; }
        public string Longitude { get; set; }
        public string UserPassword { get; set; }
        public string UserSalt { get; set; }
        public string AccessToken { get; set; }
        public DateTime? CreatedOn { get; set; }
        public DateTime? UpdatedOn { get; set; }
        public bool? IsActive { get; set; }

        public virtual Institutes Institute { get; set; }
        public virtual Languages Language { get; set; }
        public virtual Roles Role { get; set; }
        public virtual States State { get; set; }
        public virtual ICollection<ActivityLogs> ActivityLogs { get; set; }
        public virtual ICollection<BookmarkedExams> BookmarkedExams { get; set; }
        public virtual ICollection<BookmarkedNotes> BookmarkedNotes { get; set; }
        public virtual ICollection<BookmarkedPractices> BookmarkedPractices { get; set; }
        public virtual ICollection<BookmarkedQuestions> BookmarkedQuestions { get; set; }
        public virtual ICollection<ExamAttempts> ExamAttempts { get; set; }
        public virtual ICollection<ExamAttemptsAnswer> ExamAttemptsAnswer { get; set; }
        public virtual ICollection<ExamAttemptsAssessment> ExamAttemptsAssessment { get; set; }
        public virtual ICollection<ExamPracticeAttempts> ExamPracticeAttempts { get; set; }
        public virtual ICollection<ExamPractices> ExamPractices { get; set; }
        public virtual ICollection<ExamSections> ExamSections { get; set; }
        public virtual ICollection<Exams> Exams { get; set; }
        public virtual ICollection<PasswordReset> PasswordReset { get; set; }
        public virtual ICollection<Questions> Questions { get; set; }
        public virtual ICollection<StudentAnswers> StudentAnswers { get; set; }
        public virtual ICollection<StudyNotes> StudyNotes { get; set; }
        public virtual ICollection<UserGroupMembers> UserGroupMembers { get; set; }
        public virtual ICollection<UserLogs> UserLogs { get; set; }
    }
}
