forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCategory.cs
42 lines (36 loc) · 754 Bytes
/
Category.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
namespace NHibernate.DomainModel
{
/// <summary>
/// Summary description for Category.
/// </summary>
public class Category
{
public static readonly string RootCategory = "/";
private long _id;
private string _name;
private IList<Category> _subcategories = new List<Category>();
private Assignable _assignable;
public long Id
{
get { return _id; }
set { _id = value; }
}
public string Name
{
get { return _name; }
set { _name = value; }
}
public IList<Category> Subcategories
{
get { return _subcategories; }
set { _subcategories = value; }
}
public Assignable Assignable
{
get { return _assignable; }
set { _assignable = value; }
}
}
}