forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUser.cs
47 lines (40 loc) · 779 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
using System;
namespace NHibernate.Test.Component.Basic
{
public class User
{
private string userName;
private string password;
private Person person;
private DateTime lastModified;
public virtual string UserName
{
get { return userName; }
set { userName = value; }
}
public virtual string Password
{
get { return password; }
set { password = value; }
}
public virtual Person Person
{
get { return person; }
set { person = value; }
}
public virtual DateTime LastModified
{
get { return lastModified; }
set { lastModified = value; }
}
public User()
{
}
public User(string id, string pw, Person person)
{
this.userName = id;
this.password = pw;
this.person = person;
}
}
}