h-you / trunk / src / ProcessManagement / ProcessManagement / DataModel / PersonExpensesCost.cs @ 376
履歴 | 表示 | アノテート | ダウンロード (2.5 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
|
6 |
namespace ProcessManagement.DataModel |
7 |
{ |
8 |
/// <summary> |
9 |
/// 交通費・購入品退避クラス(台帳一覧で使用) |
10 |
/// </summary> |
11 |
public class PersonExpensesCost |
12 |
{ |
13 |
#region メンバ変数 |
14 |
/// <summary> |
15 |
/// 部署コード |
16 |
/// </summary> |
17 |
private int m_DepartmentCode = 0; |
18 |
/// <summary> |
19 |
/// 担当者コード |
20 |
/// </summary> |
21 |
private int m_PersonCode = 0; |
22 |
/// <summary> |
23 |
/// 開始日付 |
24 |
/// </summary> |
25 |
private DateTime m_StartDate = DateTime.MaxValue; |
26 |
/// <summary> |
27 |
/// 終了日付 |
28 |
/// </summary> |
29 |
private DateTime m_CompDate = DateTime.MaxValue; |
30 |
/// <summary> |
31 |
/// 経費金額 |
32 |
/// </summary> |
33 |
private int[] m_CostValue = new int[CostDataOfPerson.DataNoStrArrary.Length]; |
34 |
#endregion |
35 |
|
36 |
#region コンストラクタ |
37 |
public PersonExpensesCost(int DepartmentCode, int PersonCode, DateTime StartDate, DateTime CompDate, int[] CostValue) |
38 |
{ |
39 |
m_DepartmentCode = DepartmentCode; |
40 |
m_PersonCode = PersonCode; |
41 |
m_StartDate = StartDate; |
42 |
m_CompDate = CompDate; |
43 |
m_CostValue = CostValue; |
44 |
} |
45 |
#endregion |
46 |
|
47 |
#region プロパティ |
48 |
/// <summary> |
49 |
/// 部署コード |
50 |
/// </summary> |
51 |
public int DepartmentCode |
52 |
{ |
53 |
get { return m_DepartmentCode; } |
54 |
set { m_DepartmentCode = value; } |
55 |
} |
56 |
/// <summary> |
57 |
/// 担当者コード |
58 |
/// </summary> |
59 |
public int PersonCode |
60 |
{ |
61 |
get { return m_PersonCode; } |
62 |
set { m_PersonCode = value; } |
63 |
} |
64 |
/// <summary> |
65 |
/// 開始日付 |
66 |
/// </summary> |
67 |
public DateTime StartDate |
68 |
{ |
69 |
get { return m_StartDate; } |
70 |
set { m_StartDate = value; } |
71 |
} |
72 |
/// <summary> |
73 |
/// 終了日付 |
74 |
/// </summary> |
75 |
public DateTime CompDate |
76 |
{ |
77 |
get { return m_CompDate; } |
78 |
set { m_CompDate = value; } |
79 |
} |
80 |
/// <summary> |
81 |
/// 経費金額 |
82 |
/// </summary> |
83 |
public int[] CostValue |
84 |
{ |
85 |
get { return m_CostValue; } |
86 |
set { m_CostValue = value; } |
87 |
} |
88 |
#endregion |
89 |
} |
90 |
} |