Skip to content
Snippets Groups Projects
Tenant.cs 685 B
Newer Older
esantangelo's avatar
esantangelo committed
using System;
using System.Collections.Generic;
using System.Text;

namespace Tsi1.DataLayer.Entities
{
    public class Tenant
    {
        public Tenant()
        {
esantangelo's avatar
esantangelo committed
            Courses = new HashSet<Course>();
            Professors = new HashSet<Professor>();
            Students = new HashSet<Student>();
            Users = new HashSet<User>();
esantangelo's avatar
esantangelo committed
        }

        public int Id { get; set; }

        public string Name { get; set; }

esantangelo's avatar
esantangelo committed
        public ICollection<Course> Courses { get; set; }
        public ICollection<Professor> Professors { get; set; }
        public ICollection<Student> Students { get; set; }
        public ICollection<User> Users { get; set; }
esantangelo's avatar
esantangelo committed
    }
}