プロジェクト

全般

プロフィール

統計
| リビジョン:

h-you / trunk / src / ProcessManagement / ProcessManagement / DataModel / AttendanceNotice.cs @ 461

履歴 | 表示 | アノテート | ダウンロード (7.11 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 AttendanceNotice
12
    {
13
        #region 定数
14

    
15
        #region 休み区分
16
        /// <summary>
17
        /// 休み区分(休暇時の分類)
18
        /// </summary>
19
        public enum HR01Def
20
        {
21
            /// <summary>
22
            /// 1:有給休暇
23
            /// </summary>
24
            PaidHolidays = 1,
25
            /// <summary>
26
            /// 2:慶弔休暇
27
            /// </summary>
28
            KeioVacation,
29
            /// <summary>
30
            /// 3:特別休暇
31
            /// </summary>
32
            SpecialHoliday,
33
            /// <summary>
34
            /// 4:欠勤
35
            /// </summary>
36
            BeAbsent,
37
        }
38

    
39
        /// <summary>
40
        /// 振替休日区分(振替休日の有無)
41
        /// </summary>
42
        public enum HR02Def
43
        {
44
            /// <summary>
45
            /// 0:振替休日を取らない
46
            /// </summary>
47
            None = 0,
48
            /// <summary>
49
            /// 1:振替休日を取得
50
            /// </summary>
51
            GatHoliday,
52
        }
53
        #endregion
54

    
55
        #endregion
56

    
57
        #region メンバ変数
58
        /// <summary>
59
        /// 作成者コード
60
        /// </summary>
61
        private int         m_PersonCode = 0;
62
        /// <summary>
63
        /// 勤怠区分
64
        /// </summary>
65
        private int         m_AttendanceNo = 0;
66
        /// <summary>
67
        /// 出勤管理年月
68
        /// </summary>
69
        private int         m_AttendanceMonth = 0;
70
        /// <summary>
71
        /// 届番号
72
        /// </summary>
73
        private int         m_OrderNo = 0;
74
        /// <summary>
75
        /// 部署コード
76
        /// </summary>
77
        private int         m_DepartmentCode = 0;
78
        /// <summary>
79
        /// 休み区分
80
        /// </summary>
81
        private int         m_HolidayReason = 0;
82
        /// <summary>
83
        /// 申請開始日時
84
        /// </summary>
85
        private DateTime    m_FromDate = DateTime.Now;
86
        /// <summary>
87
        /// 申請終了日時
88
        /// </summary>
89
        private DateTime    m_ToDate = DateTime.Now;
90
        /// <summary>
91
        /// 勤怠期間日
92
        /// </summary>
93
        private float       m_NoticePeriod = 0;
94
        /// <summary>
95
        /// 振替日
96
        /// </summary>
97
        private DateTime    m_TransferDay = DateTime.MinValue;
98
        /// <summary>
99
        /// 事由
100
        /// </summary>
101
        private string      m_Reason = string.Empty;
102
        /// <summary>
103
        /// 備考
104
        /// </summary>
105
        private string      m_Note = string.Empty;
106
        /// <summary>
107
        ///  承認日
108
        /// </summary>
109
        private int         m_ApprovalDate = 0;
110
        /// <summary>
111
        /// 承認受付番号
112
        /// </summary>
113
        private int         m_ApprovalNo = 0;
114
        /// <summary>
115
        /// 削除フラグ
116
        /// </summary>
117
        private int         m_DeleteFlg = 0;
118
        /// <summary>
119
        /// 登録年月日
120
        /// </summary>
121
        private DateTime    m_EntryDate = DateTime.Now;
122
        /// <summary>
123
        /// 更新年月日
124
        /// </summary>
125
        private DateTime    m_UpdateDate = DateTime.Now;
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 int AttendanceNo
141
        {
142
            get { return m_AttendanceNo; }
143
            set { m_AttendanceNo = value; }
144
        }
145
        /// <summary>
146
        /// 出勤管理年月
147
        /// </summary>
148
        public int AttendanceMonth
149
        {
150
            get { return m_AttendanceMonth; }
151
            set { m_AttendanceMonth = value; }
152
        }
153
        /// <summary>
154
        /// 届番号
155
        /// </summary>
156
        public int OrderNo
157
        {
158
            get { return m_OrderNo; }
159
            set { m_OrderNo = value; }
160
        }
161
        /// <summary>
162
        ///  部署コード
163
        /// </summary>
164
        public int DepartmentCode
165
        {
166
            get { return m_DepartmentCode; }
167
            set { m_DepartmentCode = value; }
168
        }
169
        /// <summary>
170
        /// 休み区分
171
        /// </summary>
172
        public int HolidayReason
173
        {
174
            get { return m_HolidayReason; }
175
            set { m_HolidayReason = value; }
176
        }
177
        /// <summary>
178
        ///  申請開始日時
179
        /// </summary>
180
        public DateTime FromDate
181
        {
182
            get { return m_FromDate; }
183
            set { m_FromDate = value; }
184
        }
185
        /// <summary>
186
        ///  申請終了日時
187
        /// </summary>
188
        public DateTime ToDate
189
        {
190
            get { return m_ToDate; }
191
            set { m_ToDate = value; }
192
        }
193
        /// <summary>
194
        /// 勤怠期間日
195
        /// </summary>
196
        public float NoticePeriod
197
        {
198
            get { return m_NoticePeriod; }
199
            set { m_NoticePeriod = value; }
200
        }
201
        /// <summary>
202
        /// 振替日
203
        /// </summary>
204
        public DateTime TransferDay
205
        {
206
            get { return m_TransferDay; }
207
            set { m_TransferDay = value; }
208
        }
209
        /// <summary>
210
        ///  事由
211
        /// </summary>
212
        public string Reason
213
        {
214
            get { return m_Reason; }
215
            set { m_Reason = value; }
216
        }
217
        /// <summary>
218
        ///  備考
219
        /// </summary>
220
        public string Note
221
        {
222
            get { return m_Note; }
223
            set { m_Note = value; }
224
        }
225
        /// <summary>
226
        ///  承認日
227
        /// </summary>
228
        public int ApprovalDate
229
        {
230
            get { return m_ApprovalDate; }
231
            set { m_ApprovalDate = value; }
232
        }
233
        /// <summary>
234
        /// 承認受付番号
235
        /// </summary>
236
        public int ApprovalNo
237
        {
238
            get { return m_ApprovalNo; }
239
            set { m_ApprovalNo = value; }
240
        }
241
        /// <summary>
242
        /// 削除フラグ
243
        /// </summary>
244
        public int DeleteFlg
245
        {
246
            get { return m_DeleteFlg; }
247
            set { m_DeleteFlg = value; }
248
        }
249
        /// <summary>
250
        /// 登録年月日
251
        /// </summary>
252
        public DateTime EntryDate
253
        {
254
            get { return m_EntryDate; }
255
            set { m_EntryDate = value; }
256
        }
257
        /// <summary>
258
        /// 更新年月日
259
        /// </summary>
260
        public DateTime UpdateDate
261
        {
262
            get { return m_UpdateDate; }
263
            set { m_UpdateDate = value; }
264
        }
265
        #endregion
266
    }
267
}