プロジェクト

全般

プロフィール

統計
| リビジョン:

h-you / branches / src / ProcessManagement / ProcessManagement / DataModel / SalaryClass.cs @ 339

履歴 | 表示 | アノテート | ダウンロード (2.43 KB)

1 333 h-you
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 SalaryClass
12
    {
13
        #region メンバ変数
14
        /// <summary>
15
        /// 部署コード
16
        /// </summary>
17
        private int m_DepartmentCode = 0;
18
        /// <summary>
19
        /// 担当者コード
20
        /// </summary>
21
        private int m_PersonCode = 0;
22
        /// <summary>
23
        /// 給与金額
24
        /// </summary>
25
        private int m_SalaryValue = 0;
26
        /// <summary>
27
        /// 開始日付
28
        /// </summary>
29
        private DateTime m_StartDate = DateTime.MaxValue;
30
        /// <summary>
31
        /// 終了日付
32
        /// </summary>
33
        private DateTime m_CompDate = DateTime.MaxValue;
34
        #endregion
35
36
        #region コンストラクタ
37
        public SalaryClass(int DepartmentCode, int PersonCode, int SalaryValue, DateTime StartDate, DateTime CompDate)
38
        {
39
            m_DepartmentCode = DepartmentCode;
40
            m_PersonCode = PersonCode;
41
            m_SalaryValue = SalaryValue;
42
            m_StartDate = StartDate;
43
            m_CompDate = CompDate;
44
        }
45
        #endregion
46
47
        #region プロパティ
48
        /// <summary>
49
        /// 部署コード
50
        /// </summary>
51
        public int DepartmentCode
52
        {
53
            get { return m_DepartmentCode; }
54
            set { m_DepartmentCode = value; }
55
        }
56
        /// <summary>
57
        /// 担当者コード
58
        /// </summary>
59
        public int PersonCode
60
        {
61
            get { return m_PersonCode; }
62
            set { m_PersonCode = value; }
63
        }
64
        /// <summary>
65
        /// 給与金額
66
        /// </summary>
67
        public int SalaryValue
68
        {
69
            get { return m_SalaryValue; }
70
            set { m_SalaryValue = value; }
71
        }
72
        /// <summary>
73
        /// 開始日付
74
        /// </summary>
75
        public DateTime StartDate
76
        {
77
            get { return m_StartDate; }
78
            set { m_StartDate = value; }
79
        }
80
        /// <summary>
81
        /// 終了日付
82
        /// </summary>
83
        public DateTime CompDate
84
        {
85
            get { return m_CompDate; }
86
            set { m_CompDate = value; }
87
        }
88
        #endregion
89
    }
90
}