forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParty.cs
54 lines (46 loc) · 830 Bytes
/
Party.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
53
54
using System;
using System.Collections.Generic;
namespace NHibernate.Test.Immutable
{
[Serializable]
public class Party
{
private long id;
private long version;
private Contract contract;
private string name;
private ISet<Info> infos = new HashSet<Info>();
public Party()
{
}
public Party(string name)
{
this.name = name;
}
public virtual long Id
{
get { return id; }
set { id = value; }
}
public virtual long Version
{
get { return version; }
set { version = value; }
}
public virtual Contract Contract
{
get { return contract; }
set { contract = value; }
}
public virtual string Name
{
get { return name; }
set { name = value; }
}
public virtual ISet<Info> Infos
{
get { return infos; }
set { infos = value; }
}
}
}