forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathImage.cs
59 lines (49 loc) · 945 Bytes
/
Image.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
55
56
57
58
59
namespace NHibernate.Test.Interceptor
{
public class Image
{
private Detail details;
private long id;
private string name;
public virtual long Id
{
get { return id; }
set { id = value; }
}
public virtual string Name
{
get { return name; }
set { name = value; }
}
public virtual Detail Details
{
get { return details; }
set { details = value; }
}
public override string ToString()
{
return "Image/" + (details == null ? "no details" : details.ToString());
}
#region Nested type: Detail
public class Detail
{
private string comment;
private long perm1 = -1; // all bits turned on.
public virtual long Perm1
{
get { return perm1; }
set { perm1 = value; }
}
public virtual string Comment
{
get { return comment; }
set { comment = value; }
}
public override string ToString()
{
return "Details=" + perm1;
}
}
#endregion
}
}