プロジェクト

全般

プロフィール

統計
| リビジョン:

h-you / trunk / src / ProcessManagement / ProcessManagement / DataModel / CostDataOfPerson.cs @ 376

履歴 | 表示 | アノテート | ダウンロード (7.48 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 CostDataOfPerson
12
    {
13
        #region 定数
14
        #region 交通費及び購入品等入力:データ種別
15
        /// <summary>
16
        /// 交通費及び購入品等入力:データ種別
17
        /// </summary>
18
        public enum DataNoDef
19
        {
20
            /// <summary>
21
            /// 交通費
22
            /// </summary>
23
            Transport = 1,
24
            /// <summary>
25
            /// 購入品費
26
            /// </summary>
27
            Purchase,
28
            /// <summary>
29
            /// 車両リース代
30
            /// </summary>
31
            Lease,
32
            /// <summary>
33
            /// 駐車場・資材置き場代
34
            /// </summary>
35
            StoragePlace,
36
            /// <summary>
37
            /// 宿泊費
38
            /// </summary>
39
            Lodging,
40
            /// <summary>
41
            /// 処分費
42
            /// </summary>
43
            DisposalCost,
44
        }
45

    
46
        /// <summary>
47
        /// データ種別
48
        /// </summary>
49
        public static readonly string[] DataNoStrArrary = new string[] { "", "交 通 費", "購入品費", "車両リース代", "駐車場・資材置き場代", "宿 泊 費", "処 分 費" };
50
        #endregion
51
        #endregion
52

    
53
        #region メンバ変数
54
        /// <summary>
55
        /// 担当者コード
56
        /// </summary>
57
        private int         m_PersonCode = 0;
58
        /// <summary>
59
        /// 対象日付
60
        /// </summary>
61
        private DateTime    m_ActionDate = DateTime.Now;
62
        /// <summary>
63
        /// データ種別
64
        /// </summary>
65
        private int         m_DataType = 0;
66
        /// <summary>
67
        /// データ追加番号
68
        /// </summary>
69
        private int         m_DataAddCount = 0;
70
        /// <summary>
71
        /// 対象年月
72
        /// </summary>
73
        private string      m_TargetMonth = string.Empty;
74
        /// <summary>
75
        /// 工事コード	
76
        /// </summary>
77
        private int         m_ConstructionCode = 0;
78
        /// <summary>
79
        /// 支払先コード
80
        /// </summary>
81
        private int         m_SuppliersCode = 0;
82
        /// <summary>
83
        /// 支払先名称
84
        /// </summary>
85
        private string      m_SuppliersName = string.Empty;
86
        /// <summary>
87
        /// 支払内容
88
        /// </summary>
89
        private string      m_PaymentContent = string.Empty;
90
        /// <summary>
91
        /// 支払方法フラグ
92
        /// </summary>
93
        private int         m_PaymentType = 0;
94
        /// <summary>
95
        /// 金額(税抜)
96
        /// </summary>
97
        private double      m_EntryPrice = 0;
98
        /// <summary>
99
        /// 金額(税込)
100
        /// </summary>
101
        private double      m_EntryPriceInTax = 0;
102
        /// <summary>
103
        /// 伝票番号
104
        /// </summary>
105
        private string      m_SlipNumber = string.Empty;
106
        /// <summary>
107
        /// 引込済みフラグ
108
        /// </summary>
109
        private int         m_ComplateFlg = 0;
110
        /// <summary>
111
        /// 承認フラグ
112
        /// </summary>
113
        private int         m_ApprovalFlg = 0;
114

    
115
        /// <summary>
116
        /// 登録日付
117
        /// </summary>
118
        private DateTime    m_EntryDate = DateTime.Now;
119
        /// <summary>
120
        /// 更新日付
121
        /// </summary>
122
        private DateTime    m_UpdateDate = DateTime.Now;
123
        #endregion
124

    
125
        #region コンストラクタ
126
        #endregion
127

    
128
        #region プロパティ
129
        /// <summary>
130
        /// 担当者コード
131
        /// </summary>
132
        public int PersonCode
133
        {
134
            get { return m_PersonCode; }
135
            set { m_PersonCode = value; }
136
        }
137
        /// <summary>
138
        /// 対象日付
139
        /// </summary>
140
        public DateTime ActionDate
141
        {
142
            get { return m_ActionDate; }
143
            set { m_ActionDate = value; }
144
        }
145
        /// <summary>
146
        /// データ種別
147
        /// </summary>
148
        public int DataType
149
        {
150
            get { return m_DataType; }
151
            set { m_DataType = value; }
152
        }
153
        /// <summary>
154
        /// データ追加番号
155
        /// </summary>
156
        public int DataAddCount
157
        {
158
            get { return m_DataAddCount; }
159
            set { m_DataAddCount = value; }
160
        }
161
        /// <summary>
162
        /// 対象年月
163
        /// </summary>
164
        public string TargetMonth
165
        {
166
            get { return m_TargetMonth; }
167
            set { m_TargetMonth = value; }
168
        }
169
        /// <summary>
170
        /// 工事コード	
171
        /// </summary>
172
        public int ConstructionCode
173
        {
174
            get { return m_ConstructionCode; }
175
            set { m_ConstructionCode = value; }
176
        }
177
        /// <summary>
178
        /// 支払先コード
179
        /// </summary>
180
        public int SuppliersCode
181
        {
182
            get { return m_SuppliersCode; }
183
            set { m_SuppliersCode = value; }
184
        }
185
        /// <summary>
186
        /// 支払先名称
187
        /// </summary>
188
        public string SuppliersName
189
        {
190
            get { return m_SuppliersName; }
191
            set { m_SuppliersName = value; }
192
        }
193
        /// <summary>
194
        /// 支払内容
195
        /// </summary>
196
        public string PaymentContent
197
        {
198
            get { return m_PaymentContent; }
199
            set { m_PaymentContent = value; }
200
        }
201
        /// <summary>
202
        /// 支払方法フラグ
203
        /// </summary>
204
        public int PaymentType
205
        {
206
            get { return m_PaymentType; }
207
            set { m_PaymentType = value; }
208
        }
209
        /// <summary>
210
        /// 金額(税抜)
211
        /// </summary>
212
        public double EntryPrice
213
        {
214
            get { return m_EntryPrice; }
215
            set { m_EntryPrice = value; }
216
        }
217
        /// <summary>
218
        /// 金額(税込)
219
        /// </summary>
220
        public double EntryPriceInTax
221
        {
222
            get { return m_EntryPriceInTax; }
223
            set { m_EntryPriceInTax = value; }
224
        }
225
        /// <summary>
226
        /// 伝票番号
227
        /// </summary>
228
        public string SlipNumber
229
        {
230
            get { return m_SlipNumber; }
231
            set { m_SlipNumber = value; }
232
        }
233
        /// <summary>
234
        /// 引込済みフラグ
235
        /// </summary>
236
        public int ComplateFlg
237
        {
238
            get { return m_ComplateFlg; }
239
            set { m_ComplateFlg = value; }
240
        }
241
        /// <summary>
242
        /// 承認フラグ
243
        /// </summary>
244
        public int ApprovalFlg
245
        {
246
            get { return m_ApprovalFlg; }
247
            set { m_ApprovalFlg = value; }
248
        }
249

    
250
        /// <summary>
251
        /// 登録日付
252
        /// </summary>
253
        public DateTime EntryDate
254
        {
255
            set { m_EntryDate = value; }
256
            get { return m_EntryDate; }
257
        }
258
        /// <summary>
259
        /// 更新日付
260
        /// </summary>
261
        public DateTime UpdateDate
262
        {
263
            set { m_UpdateDate = value; }
264
            get { return m_UpdateDate; }
265
        }
266
        #endregion
267
    }
268
}