forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUser.cs
52 lines (44 loc) · 904 Bytes
/
User.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
43
44
45
46
47
48
49
50
51
52
using System;
using System.Collections.Generic;
namespace NHibernate.Test.Interceptor
{
public class User
{
private ISet<string> actions = new HashSet<string>();
private DateTime? created;
private DateTime? lastUpdated;
private string name;
private string password;
public User() {}
public User(string name, string password)
{
this.name = name;
this.password = password;
}
public virtual string Name
{
get { return name; }
set { name = value; }
}
public virtual string Password
{
get { return password; }
set { password = value; }
}
public virtual ISet<string> Actions
{
get { return actions; }
set { actions = value; }
}
public virtual DateTime? LastUpdated
{
get { return lastUpdated; }
set { lastUpdated = value; }
}
public virtual DateTime? Created
{
get { return created; }
set { created = value; }
}
}
}