2018-12-01 22:12:59 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Forum.DataAccessLayer.Models
|
|
|
|
|
{
|
2018-12-01 22:41:14 +01:00
|
|
|
|
public class Category
|
2018-12-01 22:12:59 +01:00
|
|
|
|
{
|
2018-12-01 22:41:14 +01:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CategoryName { get; set; }
|
|
|
|
|
|
|
|
|
|
public virtual ICollection<Question> Questions { get; set; }
|
2018-12-01 22:12:59 +01:00
|
|
|
|
}
|
|
|
|
|
}
|