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

namespace Tsi1.DataLayer.Entities
{
    public class Forum
    {
        public Forum()
        {
            Posts = new HashSet<Post>();
            ForumUsers = new HashSet<ForumUser>();
esantangelo's avatar
esantangelo committed
        }

        public int Id { get; set; }

        public string Name { get; set; }

        public int CourseId { get; set; }

        public Course Course { get; set; }

        public ICollection<Post> Posts { get; set; }
        public ICollection<ForumUser> ForumUsers { get; set; }
esantangelo's avatar
esantangelo committed
    }
}