h-you / branches / src / ProcessManagement / ProcessManagement / DataModel / SecurityMaster.cs @ 326
履歴 | 表示 | アノテート | ダウンロード (4.52 KB)
1 | 51 | bit | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.Linq; |
||
4 | using System.Text; |
||
5 | using System.Threading.Tasks; |
||
6 | using System.Windows.Forms; |
||
7 | |||
8 | namespace ProcessManagement.DataModel |
||
9 | { |
||
10 | /// <summary> |
||
11 | /// 保護区分マスタ |
||
12 | /// </summary> |
||
13 | public class SecurityMaster |
||
14 | { |
||
15 | 267 | h-you | #region 定数 |
16 | #region 保護区分マスタ:総務業務フラグ |
||
17 | /// <summary> |
||
18 | /// 保護区分マスタ:総務業務フラグ |
||
19 | /// </summary> |
||
20 | public enum GeneAffDef |
||
21 | { |
||
22 | /// <summary> |
||
23 | 270 | h-you | /// 総務以外:0 |
24 | 267 | h-you | /// </summary> |
25 | OtherDep = 0, |
||
26 | /// <summary> |
||
27 | 270 | h-you | /// 総務業務対象:1 |
28 | 267 | h-you | /// </summary> |
29 | GeneralDep, |
||
30 | } |
||
31 | #endregion |
||
32 | |||
33 | #region 保護区分マスタ:総務業務名称 |
||
34 | /// <summary> |
||
35 | /// 保護区分マスタ:総務業務名称 |
||
36 | /// </summary> |
||
37 | public static List<KeyValuePair<int, string>> GeneAffList = new List<KeyValuePair<int, string>>{ |
||
38 | new KeyValuePair<int,string>(0,"総務業務不可"), |
||
39 | new KeyValuePair<int,string>(1,"総務業務可能")}; |
||
40 | #endregion |
||
41 | #endregion |
||
42 | |||
43 | 51 | bit | #region メンバ変数 |
44 | /// <summary> |
||
45 | /// 保護区分番号 |
||
46 | /// </summary> |
||
47 | private int m_SecCode = 0; |
||
48 | /// <summary> |
||
49 | /// 表示順 |
||
50 | /// </summary> |
||
51 | private int m_DisplayOrder = 0; |
||
52 | /// <summary> |
||
53 | /// 保護区分名称 |
||
54 | /// </summary> |
||
55 | private string m_SecName = string.Empty; |
||
56 | /// <summary> |
||
57 | /// 保護区分ランク |
||
58 | /// </summary> |
||
59 | private int m_SecRank = 0; |
||
60 | /// <summary> |
||
61 | /// 保護区分範囲 |
||
62 | /// </summary> |
||
63 | private int m_SecRange = 0; |
||
64 | /// <summary> |
||
65 | /// 総務業務フラグ |
||
66 | /// </summary> |
||
67 | private int m_GeneralAffairs = 0; |
||
68 | /// <summary> |
||
69 | /// 選択背景色 |
||
70 | /// </summary> |
||
71 | private string m_SelectBackColor = string.Empty; |
||
72 | |||
73 | /// <summary> |
||
74 | /// 登録年月日 |
||
75 | /// </summary> |
||
76 | 326 | h-you | private DateTime m_EntryDate = DateTime.Now; |
77 | 51 | bit | /// <summary> |
78 | /// 更新年月日 |
||
79 | /// </summary> |
||
80 | 326 | h-you | private DateTime m_UpdateDate = DateTime.Now; |
81 | 51 | bit | #endregion |
82 | |||
83 | #region プロパティ |
||
84 | /// <summary> |
||
85 | /// 保護区分番号 |
||
86 | /// </summary> |
||
87 | public int SecCode |
||
88 | { |
||
89 | get { return m_SecCode; } |
||
90 | set { m_SecCode = value; } |
||
91 | } |
||
92 | /// <summary> |
||
93 | /// 表示順 |
||
94 | /// </summary> |
||
95 | public int DisplayOrder |
||
96 | { |
||
97 | get { return m_DisplayOrder; } |
||
98 | set { m_DisplayOrder = value; } |
||
99 | } |
||
100 | /// <summary> |
||
101 | /// 保護区分名称 |
||
102 | /// </summary> |
||
103 | public string SecName |
||
104 | { |
||
105 | get { return m_SecName; } |
||
106 | set { m_SecName = value; } |
||
107 | } |
||
108 | /// <summary> |
||
109 | /// 保護区分ランク |
||
110 | /// </summary> |
||
111 | public int SecRank |
||
112 | { |
||
113 | get { return m_SecRank; } |
||
114 | set { m_SecRank = value; } |
||
115 | } |
||
116 | /// <summary> |
||
117 | /// 保護区分範囲 |
||
118 | /// </summary> |
||
119 | public int SecRange |
||
120 | { |
||
121 | get { return m_SecRange; } |
||
122 | set { m_SecRange = value; } |
||
123 | } |
||
124 | /// <summary> |
||
125 | /// 総務業務フラグ |
||
126 | /// </summary> |
||
127 | public int GeneralAffairs |
||
128 | { |
||
129 | get { return m_GeneralAffairs; } |
||
130 | set { m_GeneralAffairs = value; } |
||
131 | } |
||
132 | /// <summary> |
||
133 | /// 選択背景色 |
||
134 | /// </summary> |
||
135 | public string SelectBackColor |
||
136 | { |
||
137 | get { return m_SelectBackColor; } |
||
138 | set { m_SelectBackColor = value; } |
||
139 | } |
||
140 | /// <summary> |
||
141 | /// 登録年月日 |
||
142 | /// </summary> |
||
143 | public DateTime EntryDate |
||
144 | { |
||
145 | get { return m_EntryDate; } |
||
146 | set { m_EntryDate = value; } |
||
147 | } |
||
148 | /// <summary> |
||
149 | /// 更新年月日 |
||
150 | /// </summary> |
||
151 | public DateTime UpdateDate |
||
152 | { |
||
153 | get { return m_UpdateDate; } |
||
154 | set { m_UpdateDate = value; } |
||
155 | } |
||
156 | #endregion |
||
157 | } |
||
158 | } |