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