h-you / branches / src / ProcessManagement / ProcessManagement / DataModel / ConstructionBaseInfo.cs @ 60
履歴 | 表示 | アノテート | ダウンロード (17.1 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 ConstructionBaseInfo |
12 |
{ |
13 |
#region メンバ変数 |
14 |
|
15 |
private int m_ConstructionCode = 0; // 工事コード |
16 |
private int m_TyingFlg = 0; // 紐付データフラグ |
17 |
private int m_JoinFlg = 0; // 結合契約工事フラグ |
18 |
private int m_ConstructionYear = 0; // 工事年度 |
19 |
private int m_ConstructionPeriod = 0; // 工事期 |
20 |
private DateTime m_RequestedDate = DateTime.MinValue; // 依頼受け日 |
21 |
private DateTime m_EstimatesSubmitDeadline = DateTime.MinValue; // 見積提出期限 |
22 |
private DateTime m_EstimatesSubmittedDate = DateTime.MinValue; // 見積提出日 |
23 |
private DateTime m_ProvisionalOrderDate = DateTime.MinValue; // 仮受注日 |
24 |
private DateTime m_OrderDate = DateTime.MinValue; // 受注日 |
25 |
private DateTime m_OrderStartingDate = DateTime.MinValue; // 開始予定日 |
26 |
private DateTime m_OrderCompletionDate = DateTime.MinValue; // 完了予定日 |
27 |
private DateTime m_PreparationStartDate = DateTime.MinValue; // 施工準備開始日 |
28 |
private DateTime m_ConstructionStartingDate = DateTime.MinValue; // 施工開始日 |
29 |
private DateTime m_ConstructionCompletionDate = DateTime.MinValue; // 施工完了日 |
30 |
private DateTime m_NonOrderDate = DateTime.MinValue; // 非受注日 |
31 |
private double m_OrdersDecisionPrice = 0; // 税抜受注決定金額 |
32 |
private double m_OrdersDecisionPriceInTax = 0; // 税込受注決定金額 |
33 |
private int m_SalesPersonCode = 0; // 営業担当者コード |
34 |
private int m_ConstructionPersonCode = 0; // 工事担当者コード |
35 |
private int m_ConstrSubPersonCode = 0; // 工事副担当者コード |
36 |
private int m_ConstructionInstructor = 0; // 工事指導員コード |
37 |
private int m_TransferConstruction = 0; // 移管先コード |
38 |
private DateTime m_TransferConstructionDate = DateTime.MinValue; // 工事移管日 |
39 |
private int m_OrderersDivision = 0; // 発注者区分 |
40 |
private int m_OrderersCode = 0; // 発注者コード |
41 |
private DateTime m_EstimatesExpirationDate = DateTime.MinValue; // 見積有効期限 |
42 |
private DateTime m_ConstructionPeriodStart = DateTime.MinValue; // 契約工期開始 |
43 |
private DateTime m_ConstructionPeriodEnd = DateTime.MinValue; // 契約工期完了 |
44 |
private DateTime m_ConstructionPeriodStart2 = DateTime.MinValue; // 契約工期開始(延長時) |
45 |
private DateTime m_ConstructionPeriodEnd2 = DateTime.MinValue; // 契約工期完了(延長時) |
46 |
private DateTime m_StartDate = DateTime.MinValue; // 工事開始日 |
47 |
private DateTime m_EndDate = DateTime.MinValue; // 工事終了日 |
48 |
private DateTime m_PurchaseOrderMailingDate = DateTime.MinValue; // 注文書郵送日 |
49 |
private DateTime m_PurchaseOrderReturnDate = DateTime.MinValue; // 注文書返送日 |
50 |
private DateTime m_PurchaseOrderReturnCheckDate = DateTime.MinValue; // 注文書返送確認日 |
51 |
private int m_ConsumptionTaxFlg = 1; // 消費税フラグ |
52 |
private int m_PrimeContractorFlg = 1; // 元請フラグ |
53 |
private int m_SalesCostFlg = 1; // 営業経費発生フラグ |
54 |
private int m_ConstructionStatusFlg = -1; // 工事状態フラグ |
55 |
private int m_ConstructionType = 0; // 工事種別区分名称コード |
56 |
private int m_EstimateType = 1; // 見積種別 |
57 |
private DateTime m_BillingStartDate = DateTime.MinValue; // 請求準備開始日 |
58 |
private DateTime m_BillingDate = DateTime.MinValue; // 請求日 |
59 |
private int m_BillingSplitFlg = 1; // 請求回数フラグ |
60 |
private DateTime m_BillingSendDate = DateTime.MinValue; // 請求書郵送/手渡し日 |
61 |
private DateTime m_LedgerComplateDate = DateTime.MinValue; // 工事詳細台帳入力完了日付 |
62 |
|
63 |
private DateTime m_EntryDate = DateTime.Now; // 登録日付 |
64 |
private DateTime m_UpdateDate = DateTime.Now; // 更新日付 |
65 |
|
66 |
#endregion |
67 |
|
68 |
#region コンストラクタ |
69 |
#endregion |
70 |
|
71 |
#region プロパティ |
72 |
/// <summary> |
73 |
/// 工事コード |
74 |
/// </summary> |
75 |
public int ConstructionCode |
76 |
{ |
77 |
get { return m_ConstructionCode; } |
78 |
set { m_ConstructionCode = value; } |
79 |
} |
80 |
/// <summary> |
81 |
/// 紐付データフラグ |
82 |
/// </summary> |
83 |
public int TyingFlg |
84 |
{ |
85 |
get { return m_TyingFlg; } |
86 |
set { m_TyingFlg = value; } |
87 |
} |
88 |
/// <summary> |
89 |
/// 結合契約工事フラグ |
90 |
/// </summary> |
91 |
public int JoinFlg |
92 |
{ |
93 |
get { return m_JoinFlg; } |
94 |
set { m_JoinFlg = value; } |
95 |
} |
96 |
/// <summary> |
97 |
/// 工事年度 |
98 |
/// </summary> |
99 |
public int ConstructionYear |
100 |
{ |
101 |
get { return m_ConstructionYear; } |
102 |
set { m_ConstructionYear = value; } |
103 |
} |
104 |
/// <summary> |
105 |
/// 工事期 |
106 |
/// </summary> |
107 |
public int ConstructionPeriod |
108 |
{ |
109 |
get { return m_ConstructionPeriod; } |
110 |
set { m_ConstructionPeriod = value; } |
111 |
} |
112 |
/// <summary> |
113 |
/// 依頼受け日 |
114 |
/// </summary> |
115 |
public DateTime RequestedDate |
116 |
{ |
117 |
get { return m_RequestedDate; } |
118 |
set { m_RequestedDate = value; } |
119 |
} |
120 |
/// <summary> |
121 |
/// 見積提出期限 |
122 |
/// </summary> |
123 |
public DateTime EstimatesSubmitDeadline |
124 |
{ |
125 |
get { return m_EstimatesSubmitDeadline; } |
126 |
set { m_EstimatesSubmitDeadline = value; } |
127 |
} |
128 |
/// <summary> |
129 |
/// 見積提出日 |
130 |
/// </summary> |
131 |
public DateTime EstimatesSubmittedDate |
132 |
{ |
133 |
get { return m_EstimatesSubmittedDate; } |
134 |
set { m_EstimatesSubmittedDate = value; } |
135 |
} |
136 |
/// <summary> |
137 |
/// 仮受注日 |
138 |
/// </summary> |
139 |
public DateTime ProvisionalOrderDate |
140 |
{ |
141 |
get { return m_ProvisionalOrderDate; } |
142 |
set { m_ProvisionalOrderDate = value; } |
143 |
} |
144 |
|
145 |
/// <summary> |
146 |
/// 受注日 |
147 |
/// </summary> |
148 |
public DateTime OrderDate |
149 |
{ |
150 |
get { return m_OrderDate; } |
151 |
set { m_OrderDate = value; } |
152 |
} |
153 |
/// <summary> |
154 |
/// 開始予定日 |
155 |
/// </summary> |
156 |
public DateTime OrderStartingDate |
157 |
{ |
158 |
get { return m_OrderStartingDate; } |
159 |
set { m_OrderStartingDate = value; } |
160 |
} |
161 |
/// <summary> |
162 |
/// 完了予定日 |
163 |
/// </summary> |
164 |
public DateTime OrderCompletionDate |
165 |
{ |
166 |
get { return m_OrderCompletionDate; } |
167 |
set { m_OrderCompletionDate = value; } |
168 |
} |
169 |
/// <summary> |
170 |
/// 施工準備開始日 |
171 |
/// </summary> |
172 |
public DateTime PreparationStartDate |
173 |
{ |
174 |
get { return m_PreparationStartDate; } |
175 |
set { m_PreparationStartDate = value; } |
176 |
} |
177 |
|
178 |
/// <summary> |
179 |
/// 施工開始日 |
180 |
/// </summary> |
181 |
public DateTime ConstructionStartingDate |
182 |
{ |
183 |
get { return m_ConstructionStartingDate; } |
184 |
set { m_ConstructionStartingDate = value; } |
185 |
} |
186 |
/// <summary> |
187 |
/// 施工完了日 |
188 |
/// </summary> |
189 |
public DateTime ConstructionCompletionDate |
190 |
{ |
191 |
get { return m_ConstructionCompletionDate; } |
192 |
set { m_ConstructionCompletionDate = value; } |
193 |
} |
194 |
/// <summary> |
195 |
/// 非受注日 |
196 |
/// </summary> |
197 |
public DateTime NonOrderDate |
198 |
{ |
199 |
get { return m_NonOrderDate; } |
200 |
set { m_NonOrderDate = value; } |
201 |
} |
202 |
|
203 |
/// <summary> |
204 |
/// 税抜受注決定金額 |
205 |
/// </summary> |
206 |
public double OrdersDecisionPrice |
207 |
{ |
208 |
get { return m_OrdersDecisionPrice; } |
209 |
set { m_OrdersDecisionPrice = value; } |
210 |
} |
211 |
/// <summary> |
212 |
/// 税抜受注決定金額 |
213 |
/// </summary> |
214 |
public double OrdersDecisionPriceInTax |
215 |
{ |
216 |
get { return m_OrdersDecisionPriceInTax; } |
217 |
set { m_OrdersDecisionPriceInTax = value; } |
218 |
} |
219 |
/// <summary> |
220 |
/// 営業担当者コード |
221 |
/// </summary> |
222 |
public int SalesPersonCode |
223 |
{ |
224 |
get { return m_SalesPersonCode; } |
225 |
set { m_SalesPersonCode = value; } |
226 |
} |
227 |
/// <summary> |
228 |
/// 工事担当者コード |
229 |
/// </summary> |
230 |
public int ConstructionPersonCode |
231 |
{ |
232 |
get { return m_ConstructionPersonCode; } |
233 |
set { m_ConstructionPersonCode = value; } |
234 |
} |
235 |
/// <summary> |
236 |
/// 工事副担当者コード |
237 |
/// </summary> |
238 |
public int ConstrSubPersonCode |
239 |
{ |
240 |
get { return m_ConstrSubPersonCode; } |
241 |
set { m_ConstrSubPersonCode = value; } |
242 |
} |
243 |
/// <summary> |
244 |
/// 工事指導員 |
245 |
/// </summary> |
246 |
public int ConstructionInstructor |
247 |
{ |
248 |
get { return m_ConstructionInstructor; } |
249 |
set { m_ConstructionInstructor = value; } |
250 |
} |
251 |
/// <summary> |
252 |
/// 移管先コード |
253 |
/// </summary> |
254 |
public int TransferConstruction |
255 |
{ |
256 |
get { return m_TransferConstruction; } |
257 |
set { m_TransferConstruction = value; } |
258 |
} |
259 |
/// <summary> |
260 |
/// 移管日 |
261 |
/// </summary> |
262 |
public DateTime TransferConstructionDate |
263 |
{ |
264 |
get { return m_TransferConstructionDate; } |
265 |
set { m_TransferConstructionDate = value; } |
266 |
} |
267 |
/// <summary> |
268 |
/// 発注者区分 |
269 |
/// </summary> |
270 |
public int OrderersDivision |
271 |
{ |
272 |
get { return m_OrderersDivision; } |
273 |
set { m_OrderersDivision = value; } |
274 |
} |
275 |
/// <summary> |
276 |
/// 発注者コード |
277 |
/// </summary> |
278 |
public int OrderersCode |
279 |
{ |
280 |
get { return m_OrderersCode; } |
281 |
set { m_OrderersCode = value; } |
282 |
} |
283 |
/// <summary> |
284 |
/// 見積有効期限 |
285 |
/// </summary> |
286 |
public DateTime EstimatesExpirationDate |
287 |
{ |
288 |
get { return m_EstimatesExpirationDate; } |
289 |
set { m_EstimatesExpirationDate = value; } |
290 |
} |
291 |
/// <summary> |
292 |
/// 契約工期開始 |
293 |
/// </summary> |
294 |
public DateTime ConstructionPeriodStart |
295 |
{ |
296 |
get { return m_ConstructionPeriodStart; } |
297 |
set { m_ConstructionPeriodStart = value; } |
298 |
} |
299 |
/// <summary> |
300 |
/// 契約工期完了 |
301 |
/// </summary> |
302 |
public DateTime ConstructionPeriodEnd |
303 |
{ |
304 |
get { return m_ConstructionPeriodEnd; } |
305 |
set { m_ConstructionPeriodEnd = value; } |
306 |
} |
307 |
/// <summary> |
308 |
/// 契約工期開始(延長時) |
309 |
/// </summary> |
310 |
public DateTime ConstructionPeriodStart2 |
311 |
{ |
312 |
get { return m_ConstructionPeriodStart2; } |
313 |
set { m_ConstructionPeriodStart2 = value; } |
314 |
} |
315 |
/// <summary> |
316 |
/// 契約工期完了(延長時) |
317 |
/// </summary> |
318 |
public DateTime ConstructionPeriodEnd2 |
319 |
{ |
320 |
get { return m_ConstructionPeriodEnd2; } |
321 |
set { m_ConstructionPeriodEnd2 = value; } |
322 |
} |
323 |
/// <summary> |
324 |
/// 工事開始日 |
325 |
/// </summary> |
326 |
public DateTime StartDate |
327 |
{ |
328 |
get { return m_StartDate; } |
329 |
set { m_StartDate = value; } |
330 |
} |
331 |
/// <summary> |
332 |
/// 工事終了日 |
333 |
/// </summary> |
334 |
public DateTime EndDate |
335 |
{ |
336 |
get { return m_EndDate; } |
337 |
set { m_EndDate = value; } |
338 |
} |
339 |
/// <summary> |
340 |
/// 注文書郵送日 |
341 |
/// </summary> |
342 |
public DateTime PurchaseOrderMailingDate |
343 |
{ |
344 |
get { return m_PurchaseOrderMailingDate; } |
345 |
set { m_PurchaseOrderMailingDate = value; } |
346 |
} |
347 |
/// <summary> |
348 |
/// 注文書返送日 |
349 |
/// </summary> |
350 |
public DateTime PurchaseOrderReturnDate |
351 |
{ |
352 |
get { return m_PurchaseOrderReturnDate; } |
353 |
set { m_PurchaseOrderReturnDate = value; } |
354 |
} |
355 |
/// <summary> |
356 |
/// 注文書返送確認日 |
357 |
/// </summary> |
358 |
public DateTime PurchaseOrderReturnCheckDate |
359 |
{ |
360 |
get { return m_PurchaseOrderReturnCheckDate; } |
361 |
set { m_PurchaseOrderReturnCheckDate = value; } |
362 |
} |
363 |
|
364 |
/// <summary> |
365 |
/// 消費税フラグ |
366 |
/// </summary> |
367 |
public int ConsumptionTaxFlg |
368 |
{ |
369 |
get { return m_ConsumptionTaxFlg; } |
370 |
set { m_ConsumptionTaxFlg = value; } |
371 |
} |
372 |
/// <summary> |
373 |
/// 元請フラグ |
374 |
/// </summary> |
375 |
public int PrimeContractorFlg |
376 |
{ |
377 |
get { return m_PrimeContractorFlg; } |
378 |
set { m_PrimeContractorFlg = value; } |
379 |
} |
380 |
/// <summary> |
381 |
/// 営業経費発生フラグ |
382 |
/// </summary> |
383 |
public int SalesCostFlg |
384 |
{ |
385 |
get { return m_SalesCostFlg; } |
386 |
set { m_SalesCostFlg = value; } |
387 |
} |
388 |
/// <summary> |
389 |
/// 工事状態フラグ |
390 |
/// </summary> |
391 |
public int ConstructionStatusFlg |
392 |
{ |
393 |
get { return m_ConstructionStatusFlg; } |
394 |
set { m_ConstructionStatusFlg = value; } |
395 |
} |
396 |
/// <summary> |
397 |
/// 工事種別区分名称コード |
398 |
/// </summary> |
399 |
public int ConstructionType |
400 |
{ |
401 |
get { return m_ConstructionType; } |
402 |
set { m_ConstructionType = value; } |
403 |
} |
404 |
/// <summary> |
405 |
/// 見積種別 |
406 |
/// </summary> |
407 |
public int EstimateType |
408 |
{ |
409 |
get { return m_EstimateType; } |
410 |
set { m_EstimateType = value; } |
411 |
} |
412 |
/// <summary> |
413 |
/// 請求準備開始日 |
414 |
/// </summary> |
415 |
public DateTime BillingStartDate |
416 |
{ |
417 |
get { return m_BillingStartDate; } |
418 |
set { m_BillingStartDate = value; } |
419 |
} |
420 |
/// <summary> |
421 |
/// 請求日 |
422 |
/// </summary> |
423 |
public DateTime BillingDate |
424 |
{ |
425 |
get { return m_BillingDate; } |
426 |
set { m_BillingDate = value; } |
427 |
} |
428 |
/// <summary> |
429 |
/// 請求回数フラグ |
430 |
/// </summary> |
431 |
public int BillingSplitFlg |
432 |
{ |
433 |
get { return m_BillingSplitFlg; } |
434 |
set { m_BillingSplitFlg = value; } |
435 |
} |
436 |
/// <summary> |
437 |
/// 請求書郵送/手渡し日 |
438 |
/// </summary> |
439 |
public DateTime BillingSendDate |
440 |
{ |
441 |
get { return m_BillingSendDate; } |
442 |
set { m_BillingSendDate = value; } |
443 |
} |
444 |
/// <summary> |
445 |
/// 工事詳細台帳入力完了日付 |
446 |
/// </summary> |
447 |
public DateTime LedgerComplateDate |
448 |
{ |
449 |
get { return m_LedgerComplateDate; } |
450 |
set { m_LedgerComplateDate = value; } |
451 |
} |
452 |
/// <summary> |
453 |
/// 登録日付 |
454 |
/// </summary> |
455 |
public DateTime EntryDate |
456 |
{ |
457 |
set { m_EntryDate = value; } |
458 |
get { return m_EntryDate; } |
459 |
} |
460 |
/// <summary> |
461 |
/// 更新日付 |
462 |
/// </summary> |
463 |
public DateTime UpdateDate |
464 |
{ |
465 |
set { m_UpdateDate = value; } |
466 |
get { return m_UpdateDate; } |
467 |
} |
468 |
#endregion |
469 |
} |
470 |
} |