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