h-you / branches / src / ProcessManagement / ProcessManagement / DataModel / DivisionMaster.cs @ 288
履歴 | 表示 | アノテート | ダウンロード (3.59 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 DivisionMaster |
12 |
{ |
13 |
#region 定数 |
14 |
/// <summary> |
15 |
/// 区分マスタ区分 |
16 |
/// </summary> |
17 |
public enum DivisionMasterCodeDefine |
18 |
{ |
19 |
/// <summary> |
20 |
/// 1:発注者区分登録 |
21 |
/// </summary> |
22 |
OrderDivision = 1, |
23 |
/// <summary> |
24 |
/// 2:工事種別登録 |
25 |
/// </summary> |
26 |
ConstructionClass = 2, |
27 |
/// <summary> |
28 |
/// 3:工事経費名称登録 |
29 |
/// </summary> |
30 |
ConstructionExpenses = 3, |
31 |
} |
32 |
/// <summary> |
33 |
/// 区分マスタ区分キー |
34 |
/// </summary> |
35 |
public static Dictionary<int, string> DivisionMasterCode = new Dictionary<int, string>(){ |
36 |
{1, "発注者区分登録"}, |
37 |
{2, "工事種別登録"}, |
38 |
{3, "工事経費名称登録"}, |
39 |
}; |
40 |
#endregion |
41 |
|
42 |
#region メンバ変数 |
43 |
private int m_DivisionCode = 0; // 区分コード |
44 |
private int m_NameCode = 0; // 名称コード |
45 |
private int m_DisplayOrder = 0; // 表示順 |
46 |
private string m_NameString = string.Empty; // 表示名称 |
47 |
private int m_DeleteFlg = 0; // 削除フラグ |
48 |
private DateTime m_EntryDate = DateTime.Now; // 登録日付 |
49 |
private DateTime m_UpdateDate = DateTime.Now; // 更新日付 |
50 |
#endregion |
51 |
|
52 |
#region コンストラクタ |
53 |
#endregion |
54 |
|
55 |
#region プロパティ |
56 |
/// <summary> |
57 |
/// 区分コード |
58 |
/// </summary> |
59 |
public int DivisionCode |
60 |
{ |
61 |
get { return m_DivisionCode; } |
62 |
set { m_DivisionCode = value; } |
63 |
} |
64 |
/// <summary> |
65 |
/// 名称コード |
66 |
/// </summary> |
67 |
public int NameCode |
68 |
{ |
69 |
get { return m_NameCode; } |
70 |
set { m_NameCode = value; } |
71 |
} |
72 |
/// <summary> |
73 |
/// 表示順 |
74 |
/// </summary> |
75 |
public int DisplayOrder |
76 |
{ |
77 |
get { return m_DisplayOrder; } |
78 |
set { m_DisplayOrder = value; } |
79 |
} |
80 |
/// <summary> |
81 |
/// 表示名称 |
82 |
/// </summary> |
83 |
public string NameString |
84 |
{ |
85 |
get { return m_NameString; } |
86 |
set { m_NameString = value; } |
87 |
} |
88 |
/// <summary> |
89 |
/// 削除フラグ |
90 |
/// </summary> |
91 |
public int DeleteFlg |
92 |
{ |
93 |
get { return m_DeleteFlg; } |
94 |
set { m_DeleteFlg = value; } |
95 |
} |
96 |
/// <summary> |
97 |
/// 登録日付 |
98 |
/// </summary> |
99 |
public DateTime EntryDate |
100 |
{ |
101 |
set { m_EntryDate = value; } |
102 |
get { return m_EntryDate; } |
103 |
} |
104 |
/// <summary> |
105 |
/// 更新日付 |
106 |
/// </summary> |
107 |
public DateTime UpdateDate |
108 |
{ |
109 |
set { m_UpdateDate = value; } |
110 |
get { return m_UpdateDate; } |
111 |
} |
112 |
#endregion |
113 |
} |
114 |
} |