1
|
|
#region Copyright
|
2
|
|
|
3
|
|
|
4
|
|
|
5
|
|
|
6
|
|
|
7
|
|
|
8
|
|
|
9
|
|
|
10
|
|
|
11
|
|
|
12
|
|
|
13
|
|
|
14
|
|
|
15
|
|
|
16
|
|
|
17
|
|
#endregion
|
18
|
|
|
19
|
|
using System;
|
20
|
|
using System.Data.SqlTypes;
|
21
|
|
using Seasar.Dao.Attrs;
|
22
|
|
|
23
|
|
namespace Seasar.Dao.Tests.Impl
|
24
|
|
{
|
25
|
|
[Table("EMP")]
|
26
|
|
public class Employee4
|
27
|
|
{
|
28
|
|
private long empno;
|
29
|
|
private string ename;
|
30
|
|
|
31
|
|
private string job;
|
32
|
|
|
33
|
|
private SqlInt16 mgr;
|
34
|
|
|
35
|
|
private DateTime hiredate;
|
36
|
|
|
37
|
|
private float sal;
|
38
|
|
|
39
|
|
private float comm;
|
40
|
|
|
41
|
|
private int deptno;
|
42
|
|
|
43
|
|
private Employee4 parent;
|
44
|
|
|
45
|
0
|
public Employee4()
|
46
|
|
{
|
47
|
|
}
|
48
|
|
|
49
|
0
|
public long Empno
|
50
|
|
{
|
51
|
|
set { empno = value; }
|
52
|
|
get { return empno; }
|
53
|
|
}
|
54
|
|
|
55
|
0
|
public string Ename
|
56
|
|
{
|
57
|
|
set { ename = value; }
|
58
|
|
get { return ename; }
|
59
|
|
}
|
60
|
|
|
61
|
0
|
public string Job
|
62
|
|
{
|
63
|
|
set { job = value; }
|
64
|
|
get { return job; }
|
65
|
|
}
|
66
|
|
|
67
|
0
|
public SqlInt16 Mgr
|
68
|
|
{
|
69
|
|
set { mgr = value; }
|
70
|
|
get { return mgr; }
|
71
|
|
}
|
72
|
|
|
73
|
0
|
public DateTime Hiredate
|
74
|
|
{
|
75
|
|
set { hiredate = value; }
|
76
|
|
get { return hiredate; }
|
77
|
|
}
|
78
|
|
|
79
|
0
|
public float Sal
|
80
|
|
{
|
81
|
|
set { sal = value; }
|
82
|
|
get { return sal; }
|
83
|
|
}
|
84
|
|
|
85
|
0
|
public float Comm
|
86
|
|
{
|
87
|
|
set { comm = value; }
|
88
|
|
get { return comm; }
|
89
|
|
}
|
90
|
|
|
91
|
0
|
public int Deptno
|
92
|
|
{
|
93
|
|
set { deptno = value; }
|
94
|
|
get { return deptno; }
|
95
|
|
}
|
96
|
|
|
97
|
0
|
[Relno(0), Relkeys("mgr:empno")]
|
98
|
|
public Employee4 Parent
|
99
|
|
{
|
100
|
|
set { parent = value; }
|
101
|
|
get { return parent; }
|
102
|
|
}
|
103
|
|
|
104
|
|
}
|
105
|
|
}
|
106
|
|
|