h-you / trunk / src / ProcessManagement / ProcessManagement / DataModel / SystemMaster.cs @ 401
履歴 | 表示 | アノテート | ダウンロード (10.7 KB)
1 | 376 | bit | 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 SystemMaster |
||
12 | { |
||
13 | #region 定数 |
||
14 | 396 | h-you | #region 工事番号基準値 |
15 | 376 | bit | /// <summary> |
16 | /// 工事番号基準値 0:営業期数 1:工事年度 |
||
17 | /// </summary> |
||
18 | public enum ConstrNoBaseDef |
||
19 | { |
||
20 | /// <summary> |
||
21 | /// 0:営業期数 |
||
22 | /// </summary> |
||
23 | BusinessPeriod = 0, |
||
24 | /// <summary> |
||
25 | /// 1:工事年度 |
||
26 | /// </summary> |
||
27 | ConstructionYear, |
||
28 | } |
||
29 | #endregion |
||
30 | 396 | h-you | |
31 | #region 運用形態フラグ |
||
32 | /// <summary> |
||
33 | /// 運用形態フラグ |
||
34 | /// </summary> |
||
35 | public enum OperationFlgDef |
||
36 | { |
||
37 | /// <summary> |
||
38 | /// 0:承認処理運用 |
||
39 | /// </summary> |
||
40 | Approval = 0, |
||
41 | /// <summary> |
||
42 | /// 1:確認処理運用 |
||
43 | /// </summary> |
||
44 | Confirmation, |
||
45 | } |
||
46 | 376 | bit | #endregion |
47 | |||
48 | 396 | h-you | #endregion |
49 | |||
50 | 376 | bit | #region メンバ変数 |
51 | private int m_SystemCode = 0; // 会社コード |
||
52 | private string m_CompanyName1 = string.Empty; // 会社名1 |
||
53 | private string m_CompanyName2 = string.Empty; // 会社名2 |
||
54 | private string m_CEOName = string.Empty; // 代表者名 |
||
55 | private string m_CEOPositionName = string.Empty; // 代表者役職名称 |
||
56 | private string m_ZipCode = string.Empty; // 郵便番号 |
||
57 | private string m_Address1 = string.Empty; // 住所1 |
||
58 | private string m_Address2 = string.Empty; // 住所2 |
||
59 | private string m_Address3 = string.Empty; // 住所3 |
||
60 | private string m_PhoneNumber = string.Empty; // 電話番号 |
||
61 | private string m_FaxNumber = string.Empty; // FAX番号 |
||
62 | private string m_HomePageURL = string.Empty; // ホームページURL |
||
63 | private double m_ConsumptionTax = 0; // 消費税 |
||
64 | private double m_CooperationRate = 0.5; // 協力金比率 |
||
65 | private double m_StatutoryWelfareRate = 8.0; // 法定福利費 |
||
66 | private double m_FuelPrice = 0; // 燃料費キロ単価 |
||
67 | private double m_AreaDistance = 0; // 資材置場移動距離 |
||
68 | |||
69 | private string m_ExcelSavePath = string.Empty; // Excel保存パス |
||
70 | |||
71 | private int m_BusinessPeriod = 0; // 営業期数 |
||
72 | private int m_ConstrYear = 0; // 工事年度 |
||
73 | private DateTime m_BusinessBeginDate = DateTime.MinValue.Date; // 期首日(事業年度) |
||
74 | private DateTime m_ConstrBeginDate = DateTime.MinValue.Date; // 期首日(工事年度) |
||
75 | private DateTime m_BusinessCompDate = DateTime.MinValue.Date; // 営業期期末日 |
||
76 | private DateTime m_ConstrCompDate = DateTime.MinValue.Date; // 工事年度期末日 |
||
77 | 383 | h-you | private int m_ConstructionNoBase = -1; // 工事番号基準値 |
78 | 376 | bit | |
79 | private string m_SloganString1 = string.Empty; // 標語 |
||
80 | private string m_SloganString2 = string.Empty; // 標語 |
||
81 | 396 | h-you | private string m_SloganString3 = string.Empty; // 標語 |
82 | |||
83 | private int m_OperationFlg = 0; // 運用形態フラグ |
||
84 | |||
85 | 376 | bit | private DateTime m_EntryDate = DateTime.Now; // 登録日付 |
86 | private DateTime m_UpdateDate = DateTime.Now; // 更新日付 |
||
87 | |||
88 | #endregion |
||
89 | |||
90 | #region コンストラクタ |
||
91 | #endregion |
||
92 | |||
93 | #region プロパティ |
||
94 | /// <summary> |
||
95 | /// 会社コード |
||
96 | /// </summary> |
||
97 | public int SystemCode |
||
98 | { |
||
99 | set { m_SystemCode = value; } |
||
100 | get { return m_SystemCode; } |
||
101 | } |
||
102 | /// <summary> |
||
103 | /// 自社名1 |
||
104 | /// </summary> |
||
105 | public string CompanyName1 |
||
106 | { |
||
107 | set { m_CompanyName1 = value; } |
||
108 | get { return m_CompanyName1; } |
||
109 | } |
||
110 | /// <summary> |
||
111 | /// 自社名2 |
||
112 | /// </summary> |
||
113 | public string CompanyName2 |
||
114 | { |
||
115 | set { m_CompanyName2 = value; } |
||
116 | get { return m_CompanyName2; } |
||
117 | } |
||
118 | /// <summary> |
||
119 | /// 代表者名 |
||
120 | /// </summary> |
||
121 | public string CEOName |
||
122 | { |
||
123 | set { m_CEOName = value; } |
||
124 | get { return m_CEOName; } |
||
125 | } |
||
126 | /// <summary> |
||
127 | /// 代表者役職名称 |
||
128 | /// </summary> |
||
129 | public string CEOPositionName |
||
130 | { |
||
131 | set { m_CEOPositionName = value; } |
||
132 | get { return m_CEOPositionName; } |
||
133 | } |
||
134 | /// <summary> |
||
135 | /// 郵便番号 |
||
136 | /// </summary> |
||
137 | public string ZipCode |
||
138 | { |
||
139 | set { m_ZipCode = value; } |
||
140 | get { return m_ZipCode; } |
||
141 | } |
||
142 | /// <summary> |
||
143 | /// 住所1 |
||
144 | /// </summary> |
||
145 | public string Address1 |
||
146 | { |
||
147 | set { m_Address1 = value; } |
||
148 | get { return m_Address1; } |
||
149 | } |
||
150 | /// <summary> |
||
151 | /// 住所2 |
||
152 | /// </summary> |
||
153 | public string Address2 |
||
154 | { |
||
155 | set { m_Address2 = value; } |
||
156 | get { return m_Address2; } |
||
157 | } |
||
158 | /// <summary> |
||
159 | /// 住所3 |
||
160 | /// </summary> |
||
161 | public string Address3 |
||
162 | { |
||
163 | set { m_Address3 = value; } |
||
164 | get { return m_Address3; } |
||
165 | } |
||
166 | /// <summary> |
||
167 | /// 電話番号 |
||
168 | /// </summary> |
||
169 | public string PhoneNumber |
||
170 | { |
||
171 | set { m_PhoneNumber = value; } |
||
172 | get { return m_PhoneNumber; } |
||
173 | } |
||
174 | /// <summary> |
||
175 | /// FAX番号 |
||
176 | /// </summary> |
||
177 | public string FaxNumber |
||
178 | { |
||
179 | set { m_FaxNumber = value; } |
||
180 | get { return m_FaxNumber; } |
||
181 | } |
||
182 | /// <summary> |
||
183 | /// ホームページURL |
||
184 | /// </summary> |
||
185 | public string HomePageURL |
||
186 | { |
||
187 | get { return m_HomePageURL; } |
||
188 | set { m_HomePageURL = value; } |
||
189 | } |
||
190 | /// <summary> |
||
191 | /// 消費税 |
||
192 | /// </summary> |
||
193 | public double ConsumptionTax |
||
194 | { |
||
195 | set { m_ConsumptionTax = value; } |
||
196 | get { return m_ConsumptionTax; } |
||
197 | } |
||
198 | /// <summary> |
||
199 | /// 協力金比率 |
||
200 | /// </summary> |
||
201 | public double CooperationRate |
||
202 | { |
||
203 | set { m_CooperationRate = value; } |
||
204 | get { return m_CooperationRate; } |
||
205 | } |
||
206 | /// <summary> |
||
207 | /// 法定福利費 |
||
208 | /// </summary> |
||
209 | public double StatutoryWelfareRate |
||
210 | { |
||
211 | get { return m_StatutoryWelfareRate; } |
||
212 | set { m_StatutoryWelfareRate = value; } |
||
213 | } |
||
214 | /// <summary> |
||
215 | /// 燃料費キロ単価 |
||
216 | /// </summary> |
||
217 | public double FuelPrice |
||
218 | { |
||
219 | get { return m_FuelPrice; } |
||
220 | set { m_FuelPrice = value; } |
||
221 | } |
||
222 | /// <summary> |
||
223 | /// 資材置場移動距離 |
||
224 | /// </summary> |
||
225 | public double AreaDistance |
||
226 | { |
||
227 | get { return m_AreaDistance; } |
||
228 | set { m_AreaDistance = value; } |
||
229 | } |
||
230 | /// <summary> |
||
231 | /// Excel保存パス |
||
232 | /// </summary> |
||
233 | public string ExcelSavePath |
||
234 | { |
||
235 | set { m_ExcelSavePath = value; } |
||
236 | get { return m_ExcelSavePath; } |
||
237 | } |
||
238 | /// <summary> |
||
239 | /// 営業期数 |
||
240 | /// </summary> |
||
241 | public int BusinessPeriod |
||
242 | { |
||
243 | get { return m_BusinessPeriod; } |
||
244 | set { m_BusinessPeriod = value; } |
||
245 | } |
||
246 | /// <summary> |
||
247 | /// 営業年度 |
||
248 | /// </summary> |
||
249 | public int ConstrYear |
||
250 | { |
||
251 | get { return m_ConstrYear; } |
||
252 | set { m_ConstrYear = value; } |
||
253 | } |
||
254 | /// <summary> |
||
255 | /// 営業期首日 |
||
256 | /// </summary> |
||
257 | public DateTime BusinessBeginDate |
||
258 | { |
||
259 | get { return m_BusinessBeginDate; } |
||
260 | set { m_BusinessBeginDate = value; } |
||
261 | } |
||
262 | /// <summary> |
||
263 | /// 工事年度期首日 |
||
264 | /// </summary> |
||
265 | public DateTime ConstrBeginDate |
||
266 | { |
||
267 | get { return m_ConstrBeginDate; } |
||
268 | set { m_ConstrBeginDate = value; } |
||
269 | } |
||
270 | /// <summary> |
||
271 | /// 営業期期末日 |
||
272 | /// </summary> |
||
273 | public DateTime BusinessCompDate |
||
274 | { |
||
275 | get { return m_BusinessCompDate; } |
||
276 | set { m_BusinessCompDate = value; } |
||
277 | } |
||
278 | /// <summary> |
||
279 | /// 工事年度期末日 |
||
280 | /// </summary> |
||
281 | public DateTime ConstrCompDate |
||
282 | { |
||
283 | get { return m_ConstrCompDate; } |
||
284 | set { m_ConstrCompDate = value; } |
||
285 | } |
||
286 | /// <summary> |
||
287 | /// 工事番号基準値フラグ |
||
288 | /// </summary> |
||
289 | public int ConstructionNoBase |
||
290 | { |
||
291 | get { return m_ConstructionNoBase; } |
||
292 | set { m_ConstructionNoBase = value; } |
||
293 | } |
||
294 | /// <summary> |
||
295 | /// 標語1 |
||
296 | /// </summary> |
||
297 | public string SloganString1 |
||
298 | { |
||
299 | get { return m_SloganString1; } |
||
300 | set { m_SloganString1 = value; } |
||
301 | } |
||
302 | /// <summary> |
||
303 | /// 標語2 |
||
304 | /// </summary> |
||
305 | public string SloganString2 |
||
306 | { |
||
307 | get { return m_SloganString2; } |
||
308 | set { m_SloganString2 = value; } |
||
309 | } |
||
310 | /// <summary> |
||
311 | /// 標語3 |
||
312 | /// </summary> |
||
313 | public string SloganString3 |
||
314 | { |
||
315 | get { return m_SloganString3; } |
||
316 | set { m_SloganString3 = value; } |
||
317 | } |
||
318 | 396 | h-you | /// <summary> |
319 | /// 運用形態フラグ |
||
320 | /// </summary> |
||
321 | public int OperationFlg |
||
322 | { |
||
323 | get { return m_OperationFlg; } |
||
324 | set { m_OperationFlg = value; } |
||
325 | } |
||
326 | 376 | bit | |
327 | /// <summary> |
||
328 | /// 登録日付 |
||
329 | /// </summary> |
||
330 | public DateTime EntryDate |
||
331 | { |
||
332 | set { m_EntryDate = value; } |
||
333 | get { return m_EntryDate; } |
||
334 | } |
||
335 | /// <summary> |
||
336 | /// 更新日付 |
||
337 | /// </summary> |
||
338 | public DateTime UpdateDate |
||
339 | { |
||
340 | set { m_UpdateDate = value; } |
||
341 | get { return m_UpdateDate; } |
||
342 | } |
||
343 | |||
344 | #endregion |
||
345 | } |
||
346 | } |