using System;
using System.Collections.Generic;

namespace OnlineAssessment.Domain.Models
{
    public partial class UserGroups
    {
        public UserGroups()
        {
            UserGroupExams = new HashSet<UserGroupExams>();
            UserGroupMembers = new HashSet<UserGroupMembers>();
            UserGroupPractices = new HashSet<UserGroupPractices>();
            Users = new HashSet<Users>();
        }

        public int Id { get; set; }
        public int ClassId { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public byte[] Photo { 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 Classes Class { get; set; }
        public virtual ICollection<UserGroupExams> UserGroupExams { get; set; }
        public virtual ICollection<UserGroupMembers> UserGroupMembers { get; set; }
        public virtual ICollection<UserGroupPractices> UserGroupPractices { get; set; }
        public virtual ICollection<Users> Users { get; set; }
    }
}
