プロジェクト

全般

プロフィール

統計
| リビジョン:

h-you / branches / src / ProcessManagement / ProcessManagement / DataModel / PurchaseOrderDetail.cs @ 302

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

1 4 bit
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
6
namespace ProcessManagement.DataModel
7
{
8 301 h-you
    /// <summary>
9
    /// 注文書明細データ
10
    /// </summary>
11 4 bit
    public class PurchaseOrderDetail
12
    {
13 272 h-you
        #region 定数
14
        /// <summary>
15
        /// グループ番号定義
16
        /// </summary>
17
        public enum GroupCountDef
18
        {
19
            /// <summary>
20
            /// 0:発注明細
21
            /// </summary>
22
            Detail = 0,
23
            /// <summary>
24
            /// 1:発注条件
25
            /// </summary>
26
            OrderingCondition,
27
            /// <summary>
28
            /// 2:施工条件
29
            /// </summary>
30
            InstructionCondition,
31
            /// <summary>
32 281 h-you
            /// 9:法定福利費
33 272 h-you
            /// </summary>
34
            StatutoryWelfare = 9,
35
        }
36
        #endregion
37
38 301 h-you
        #region 明細行データタイプフラグ
39
        /// <summary>
40
        /// 明細行データタイプフラグ
41
        /// </summary>
42
        public enum DataTypeFlagDef
43
        {
44
            /// <summary>
45
            /// 0:通常データ
46
            /// </summary>
47
            CommonData = 0,
48
            /// <summary>
49
            /// 1:法定福利費
50
            /// </summary>
51
            StatutoryWelfare,
52
        }
53
        #endregion
54
55 4 bit
        #region メンバ変数
56
57
        private int     m_ConstructionCode = 0;	            // 工事コード
58
        private int     m_SeqNo = 0;                        // 枝番
59
        private int     m_GroupCount = 0;                   // グループ番号
60
        private int     m_LineCount = 0;                    // 行番号
61
62
        private int     m_ComponentCode = 0;                // 構成キー
63
        private int     m_ItemCode = 0;	                    // 工種キー
64
        private string  m_FirstString = string.Empty;       // 工種・品名
65
        private string  m_SecondString = string.Empty;      // 内容内訳
66
67
        private double  m_UnitCount = 0;	                // 数量
68
        private string  m_UnitName = string.Empty;	        // 単位
69
        private double  m_UnitPrice = 0;	                // 単価
70
        private double  m_OrdersLinePrice = 0;	            // 金額
71 302 h-you
        private long    m_SourceCode = 0;                   // 台帳工事番号
72
        private int     m_SourceDetailCnt = 0;              // 台帳明細番号
73 4 bit
74 301 h-you
        private int     m_DataTypeFlag = 0;                 // 明細行データタイプフラグ
75
76 4 bit
        private DateTime m_EntryDate = DateTime.Now;        // 登録日付
77
        private DateTime m_UpdateDate = DateTime.Now;       // 更新日付
78
        #endregion
79
80
        #region コンストラクタ
81
        #endregion
82
83
        #region プロパティ
84
        /// <summary>
85
        /// 工事コード
86
        /// </summary>
87
        public int ConstructionCode
88
        {
89
            get { return m_ConstructionCode; }
90
            set { m_ConstructionCode = value; }
91
        }
92
        /// <summary>
93
        /// 枝番
94
        /// </summary>
95
        public int SeqNo
96
        {
97
            get { return m_SeqNo; }
98
            set { m_SeqNo = value; }
99
        }
100
        /// <summary>
101
        /// グループ番号
102
        /// </summary>
103
        public int GroupCount
104
        {
105
            get { return m_GroupCount; }
106
            set { m_GroupCount = value; }
107
        }
108
        /// <summary>
109
        /// 行番号
110
        /// </summary>
111
        public int LineCount
112
        {
113
            get { return m_LineCount; }
114
            set { m_LineCount = value; }
115
        }
116
        /// <summary>
117
        /// 構成キー
118
        /// </summary>
119
        public int ComponentCode
120
        {
121
            get { return m_ComponentCode; }
122
            set { m_ComponentCode = value; }
123
        }
124
        /// <summary>
125
        /// 工種キー
126
        /// </summary>
127
        public int ItemCode
128
        {
129
            get { return m_ItemCode; }
130
            set { m_ItemCode = value; }
131
        }
132
        /// <summary>
133
        /// 工種・品名
134
        /// </summary>
135
        public string FirstString
136
        {
137
            get { return m_FirstString; }
138
            set { m_FirstString = value; }
139
        }
140
        /// <summary>
141
        /// 内容内訳
142
        /// </summary>
143
        public string SecondString
144
        {
145
            get { return m_SecondString; }
146
            set { m_SecondString = value; }
147
        }
148
149
        /// <summary>
150
        /// 数量
151
        /// </summary>
152
        public double UnitCount
153
        {
154
            get { return m_UnitCount; }
155
            set { m_UnitCount = value; }
156
        }
157
        /// <summary>
158
        /// 単位
159
        /// </summary>
160
        public string UnitName
161
        {
162
            get { return m_UnitName; }
163
            set { m_UnitName = value; }
164
        }
165
        /// <summary>
166
        /// 単価
167
        /// </summary>
168
        public double UnitPrice
169
        {
170
            get { return m_UnitPrice; }
171
            set { m_UnitPrice = value; }
172
        }
173
        /// <summary>
174
        /// 金額
175
        /// </summary>
176
        public double OrdersLinePrice
177
        {
178
            get { return m_OrdersLinePrice; }
179
            set { m_OrdersLinePrice = value; }
180
        }
181 51 bit
        /// <summary>
182 302 h-you
        /// 台帳工事番号
183 51 bit
        /// </summary>
184 302 h-you
        public long SourceCode
185 51 bit
        {
186
            get { return m_SourceCode; }
187
            set { m_SourceCode = value; }
188
        }
189 93 h-you
        /// <summary>
190 302 h-you
        /// 台帳明細番号
191 93 h-you
        /// </summary>
192 302 h-you
        public int SourceDetailCnt
193 93 h-you
        {
194 302 h-you
            get { return m_SourceDetailCnt; }
195
            set { m_SourceDetailCnt = value; }
196 93 h-you
        }
197 4 bit
198
        /// <summary>
199 301 h-you
        /// 明細行データタイプフラグ
200
        /// </summary>
201
        public int DataTypeFlag
202
        {
203
            get { return m_DataTypeFlag; }
204
            set { m_DataTypeFlag = value; }
205
        }
206
207
        /// <summary>
208 4 bit
        /// 登録日付
209
        /// </summary>
210
        public DateTime EntryDate
211
        {
212
            set { m_EntryDate = value; }
213
            get { return m_EntryDate; }
214
        }
215
        /// <summary>
216
        /// 更新日付
217
        /// </summary>
218
        public DateTime UpdateDate
219
        {
220
            set { m_UpdateDate = value; }
221
            get { return m_UpdateDate; }
222
        }
223
        #endregion
224
    }
225
}