プロジェクト

全般

プロフィール

統計
| リビジョン:

h-you / trunk / src / ProcessManagement / ProcessManagement / DataModel / AttendanceDailyData.cs @ 483

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

    
15
        #region 作業区分フラグ定義
16
        /// <summary>
17
        /// 作業区分フラグ定義
18
        /// </summary>
19
        public enum WorkKindFlgDef
20
        {
21
            /// <summary>
22
            ///  0:通常勤務
23
            /// </summary>
24
            Normal = 0,
25
            /// <summary>
26
            ///  1:早 出
27
            /// </summary>
28
            OutEarly,
29
            /// <summary>
30
            ///  2:残 業
31
            /// </summary>
32
            OverTime,
33
            /// <summary>
34
            ///  3:遅 刻
35
            /// </summary>
36
            Late,
37
            /// <summary>
38
            ///  4:早 退
39
            /// </summary>
40
            LeaveEarly,
41
            /// <summary>
42
            ///  5:外 出
43
            /// </summary>
44
            GoOut,
45
            /// <summary>
46
            ///  6:有給休暇
47
            /// </summary>
48
            PaidHolidays,
49
            /// <summary>
50
            ///  7:欠 勤
51
            /// </summary>
52
            Absence,
53
            /// <summary>
54
            ///  8:振替休日
55
            /// </summary>
56
            TransferHoliday,
57
            /// <summary>
58
            ///  9:休日出勤
59
            /// </summary>
60
            HolidayWork,
61
            /// <summary>
62
            /// 10:代 休
63
            /// </summary>
64
            CompensatoryHoliday,
65
            /// <summary>
66
            /// 11:休 日
67
            /// </summary>
68
            Holiday,
69
            /// <summary>
70
            /// 12:特殊休
71
            /// </summary>
72
            UniqueDay,
73
        }
74
        #endregion
75

    
76
        #endregion
77

    
78
        #region メンバ変数
79
        private int     m_PersonCode = 0;                           // 作成者コード
80
        private DateTime    m_AttendanceDate = DateTime.Now;        // 日報作成日
81
        private int         m_SeqNo = 0;                            // 明細行番号
82
        private int         m_ConstructionCode = 0;                 // 工事コード
83
        private string      m_ActionResult = string.Empty;          // 行動実績
84
        private DateTime    m_StartTime = DateTime.MinValue;        // 開始時間
85
        private DateTime    m_CompTime = DateTime.MinValue;         // 終了時間
86
        private decimal     m_DayTimes = 0;                         // 稼働時間
87
        private decimal     m_Overtime = 0;                         // 就業外時間
88
        private decimal     m_OvertimeWA = 0;                       // 残業認可時間
89
        private string      m_WorkingComment = string.Empty;        // コメント
90
        private int         m_WorkKindFlg = 0;                      // 作業区分フラグ
91
        private DateTime    m_EntryDate = DateTime.Now;             // 登録年月日
92
        private DateTime    m_UpdateDate = DateTime.Now;            // 更新年月日
93
        #endregion
94

    
95
        #region プロパティ
96
        /// <summary>
97
        /// 作成者コード
98
        /// </summary>
99
        public int PersonCode
100
        {
101
            get { return m_PersonCode; }
102
            set { m_PersonCode = value; }
103
        }
104
        /// <summary>
105
        /// 日報作成日
106
        /// </summary>
107
        public DateTime AttendanceDate
108
        {
109
            get { return m_AttendanceDate; }
110
            set { m_AttendanceDate = value; }
111
        }
112
        /// <summary>
113
        /// 明細行番号
114
        /// </summary>
115
        public int SeqNo
116
        {
117
            get { return m_SeqNo; }
118
            set { m_SeqNo = value; }
119
        }
120
        /// <summary>
121
        /// 工事コード
122
        /// </summary>
123
        public int ConstructionCode
124
        {
125
            get { return m_ConstructionCode; }
126
            set { m_ConstructionCode = value; }
127
        }
128
        /// <summary>
129
        /// 行動実績
130
        /// </summary>
131
        public string ActionResult
132
        {
133
            get { return m_ActionResult; }
134
            set { m_ActionResult = value; }
135
        }
136
        /// <summary>
137
        /// 開始時間
138
        /// </summary>
139
        public DateTime StartTime
140
        {
141
            get { return m_StartTime; }
142
            set { m_StartTime = value; }
143
        }
144
        /// <summary>
145
        /// 終了時間
146
        /// </summary>
147
        public DateTime CompTime
148
        {
149
            get { return m_CompTime; }
150
            set { m_CompTime = value; }
151
        }
152
        /// <summary>
153
        /// 日稼働合計時間
154
        /// </summary>
155
        public decimal DayTimes
156
        {
157
            get { return m_DayTimes; }
158
            set { m_DayTimes = value; }
159
        }
160
        /// <summary>
161
        /// 時間外就業
162
        /// </summary>
163
        public decimal Overtime
164
        {
165
            get { return m_Overtime; }
166
            set { m_Overtime = value; }
167
        }
168
        /// <summary>
169
        /// 残業認可時間
170
        /// </summary>
171
        public decimal OvertimeWA
172
        {
173
            get { return m_OvertimeWA; }
174
            set { m_OvertimeWA = value; }
175
        }
176
        /// <summary>
177
        /// 作業コメント
178
        /// </summary>
179
        public string WorkingComment
180
        {
181
            get { return m_WorkingComment; }
182
            set { m_WorkingComment = value; }
183
        }
184
        /// <summary>
185
        /// 作業区分フラグ
186
        /// </summary>
187
        public int WorkKindFlg
188
        {
189
            get { return m_WorkKindFlg; }
190
            set { m_WorkKindFlg = value; }
191
        }
192
        /// <summary>
193
        /// 登録年月日
194
        /// </summary>
195
        public DateTime EntryDate
196
        {
197
            get { return m_EntryDate; }
198
            set { m_EntryDate = value; }
199
        }
200
        /// <summary>
201
        /// 更新年月日
202
        /// </summary>
203
        public DateTime UpdateDate
204
        {
205
            get { return m_UpdateDate; }
206
            set { m_UpdateDate = value; }
207
        }
208
        #endregion
209
    }
210
}