forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimpleComponent.cs
58 lines (49 loc) · 883 Bytes
/
SimpleComponent.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
using System;
namespace NHibernate.DomainModel.NHSpecific
{
/// <summary>
/// Summary description for SimpleComponent.
/// </summary>
public class SimpleComponent
{
private long m_Key = 0;
private string _name;
private string _address;
private int _count;
private DateTime _date;
private AuditComponent _audit;
public SimpleComponent()
{
_audit = new AuditComponent();
}
public long Key
{
get { return m_Key; }
}
public string Name
{
get { return _name; }
set { _name = value; }
}
public string Address
{
get { return _address; }
set { _address = value; }
}
public int Count
{
get { return _count; }
set { _count = value; }
}
public DateTime Date
{
get { return _date; }
set { _date = value; }
}
public AuditComponent Audit
{
get { return _audit; }
set { _audit = value; }
}
}
}