h-you / trunk / src / ProcessManagement / ProcessManagement / DataModel / PurchaseOrder.cs @ 39
履歴 | 表示 | アノテート | ダウンロード (9.62 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 PurchaseOrder |
| 12 |
{
|
| 13 |
#region メンバ変数 |
| 14 |
|
| 15 |
private int m_ConstructionCode = 0; // 工事コード |
| 16 |
private int m_SeqNo = 0; // 枝番 |
| 17 |
|
| 18 |
private int m_CompanyCode = 0; // 協力会社コード |
| 19 |
private DateTime m_CreateDate = DateTime.Now; // 作成日 |
| 20 |
private double m_OrderPrice = 0; // 発注金額 |
| 21 |
private DateTime m_LastRowStringDate = DateTime.MinValue; // 最終行表示日付 |
| 22 |
|
| 23 |
private int m_OrderSheetType = 0; // 簡易・本式フラグ |
| 24 |
private int m_PaymentTerms = 0; // 支払い条件 |
| 25 |
private double m_CashRatio = 0; // 現金割合(%) |
| 26 |
private int m_BillPeriod = 0; // 手形期間 |
| 27 |
|
| 28 |
private int m_PrePayments = 0; // 前金払 |
| 29 |
private int m_PrePaymentsDays = 0; // 前金払日数 |
| 30 |
private double m_PrePaymentsPrice = 0; // 前金払金額 |
| 31 |
private int m_PartialPayment = 0; // 部分払 |
| 32 |
private int m_PartialPaymentMounth = 0; // 部分払締切月 |
| 33 |
private int m_PartialPaymentDay1 = 0; // 部分払締切日 |
| 34 |
private int m_PartialPaymentDay2 = 0; // 部分払支払日 |
| 35 |
private double m_PartialPaymentPrice = 0; // 部分払金額 |
| 36 |
private int m_CompletionPayment = 0; // 引渡し時の支払 |
| 37 |
private int m_CompletionPaymentDays = 0; // 引渡し時の支払日数 |
| 38 |
private double m_CompletionPaymentPrice = 0; // 引渡し時の支払金額 |
| 39 |
|
| 40 |
private int m_LeadEngineerCode = 0; // 主任技術者コード |
| 41 |
private string m_LeadEngineerName = string.Empty; // 主任技術者名 |
| 42 |
private int m_SafetyOfficerCode = 0; // 安全管理者コード |
| 43 |
private string m_SafetyOfficerName = string.Empty; // 安全管理者名 |
| 44 |
private int m_WorkersCount = 0; // 作業員数 |
| 45 |
private DateTime m_PrintoutDate = DateTime.MinValue; // 印刷年月日 |
| 46 |
|
| 47 |
private DateTime m_EntryDate = DateTime.Now; // 登録日付 |
| 48 |
private DateTime m_UpdateDate = DateTime.Now; // 更新日付 |
| 49 |
#endregion |
| 50 |
|
| 51 |
#region コンストラクタ |
| 52 |
#endregion |
| 53 |
|
| 54 |
#region プロパティ |
| 55 |
/// <summary> |
| 56 |
/// 工事コード |
| 57 |
/// </summary> |
| 58 |
public int ConstructionCode |
| 59 |
{
|
| 60 |
get { return m_ConstructionCode; }
|
| 61 |
set { m_ConstructionCode = value; }
|
| 62 |
} |
| 63 |
/// <summary> |
| 64 |
/// 枝番 |
| 65 |
/// </summary> |
| 66 |
public int SeqNo |
| 67 |
{
|
| 68 |
get { return m_SeqNo; }
|
| 69 |
set { m_SeqNo = value; }
|
| 70 |
} |
| 71 |
/// <summary> |
| 72 |
/// 協力会社コード |
| 73 |
/// </summary> |
| 74 |
public int CompanyCode |
| 75 |
{
|
| 76 |
get { return m_CompanyCode; }
|
| 77 |
set { m_CompanyCode = value; }
|
| 78 |
} |
| 79 |
/// <summary> |
| 80 |
/// 作成日 |
| 81 |
/// </summary> |
| 82 |
public DateTime CreateDate |
| 83 |
{
|
| 84 |
get { return m_CreateDate; }
|
| 85 |
set { m_CreateDate = value; }
|
| 86 |
} |
| 87 |
/// <summary> |
| 88 |
/// 発注金額 |
| 89 |
/// </summary> |
| 90 |
public double OrderPrice |
| 91 |
{
|
| 92 |
get { return m_OrderPrice; }
|
| 93 |
set { m_OrderPrice = value; }
|
| 94 |
} |
| 95 |
/// <summary> |
| 96 |
/// 最終行表示日付 |
| 97 |
/// </summary> |
| 98 |
public DateTime LastRowStringDate |
| 99 |
{
|
| 100 |
get { return m_LastRowStringDate; }
|
| 101 |
set { m_LastRowStringDate = value; }
|
| 102 |
} |
| 103 |
|
| 104 |
|
| 105 |
/// <summary> |
| 106 |
/// 簡易・本式フラグ |
| 107 |
/// </summary> |
| 108 |
public int OrderSheetType |
| 109 |
{
|
| 110 |
get { return m_OrderSheetType; }
|
| 111 |
set { m_OrderSheetType = value; }
|
| 112 |
} |
| 113 |
/// <summary> |
| 114 |
/// 支払い条件 |
| 115 |
/// </summary> |
| 116 |
public int PaymentTerms |
| 117 |
{
|
| 118 |
get { return m_PaymentTerms; }
|
| 119 |
set { m_PaymentTerms = value; }
|
| 120 |
} |
| 121 |
/// <summary> |
| 122 |
/// 現金割合(%) |
| 123 |
/// </summary> |
| 124 |
public double CashRatio |
| 125 |
{
|
| 126 |
get { return m_CashRatio; }
|
| 127 |
set { m_CashRatio = value; }
|
| 128 |
} |
| 129 |
/// <summary> |
| 130 |
/// 手形期間 |
| 131 |
/// </summary> |
| 132 |
public int BillPeriod |
| 133 |
{
|
| 134 |
get { return m_BillPeriod; }
|
| 135 |
set { m_BillPeriod = value; }
|
| 136 |
} |
| 137 |
/// <summary> |
| 138 |
/// 前金払 |
| 139 |
/// </summary> |
| 140 |
public int PrePayments |
| 141 |
{
|
| 142 |
get { return m_PrePayments; }
|
| 143 |
set { m_PrePayments = value; }
|
| 144 |
} |
| 145 |
/// <summary> |
| 146 |
/// 前金払日数 |
| 147 |
/// </summary> |
| 148 |
public int PrePaymentsDays |
| 149 |
{
|
| 150 |
get { return m_PrePaymentsDays; }
|
| 151 |
set { m_PrePaymentsDays = value; }
|
| 152 |
} |
| 153 |
/// <summary> |
| 154 |
/// 前金払金額 |
| 155 |
/// </summary> |
| 156 |
public double PrePaymentsPrice |
| 157 |
{
|
| 158 |
get { return m_PrePaymentsPrice; }
|
| 159 |
set { m_PrePaymentsPrice = value; }
|
| 160 |
} |
| 161 |
/// <summary> |
| 162 |
/// 部分払 |
| 163 |
/// </summary> |
| 164 |
public int PartialPayment |
| 165 |
{
|
| 166 |
get { return m_PartialPayment; }
|
| 167 |
set { m_PartialPayment = value; }
|
| 168 |
} |
| 169 |
/// <summary> |
| 170 |
/// 部分払締切月 |
| 171 |
/// </summary> |
| 172 |
public int PartialPaymentMounth |
| 173 |
{
|
| 174 |
get { return m_PartialPaymentMounth; }
|
| 175 |
set { m_PartialPaymentMounth = value; }
|
| 176 |
} |
| 177 |
/// <summary> |
| 178 |
/// 部分払締切日 |
| 179 |
/// </summary> |
| 180 |
public int PartialPaymentDay1 |
| 181 |
{
|
| 182 |
get { return m_PartialPaymentDay1; }
|
| 183 |
set { m_PartialPaymentDay1 = value; }
|
| 184 |
} |
| 185 |
/// <summary> |
| 186 |
/// 部分払支払日 |
| 187 |
/// </summary> |
| 188 |
public int PartialPaymentDay2 |
| 189 |
{
|
| 190 |
get { return m_PartialPaymentDay2; }
|
| 191 |
set { m_PartialPaymentDay2 = value; }
|
| 192 |
} |
| 193 |
/// <summary> |
| 194 |
/// 部分払金額 |
| 195 |
/// </summary> |
| 196 |
public double PartialPaymentPrice |
| 197 |
{
|
| 198 |
get { return m_PartialPaymentPrice; }
|
| 199 |
set { m_PartialPaymentPrice = value; }
|
| 200 |
} |
| 201 |
/// <summary> |
| 202 |
/// 引渡し時の支払 |
| 203 |
/// </summary> |
| 204 |
public int CompletionPayment |
| 205 |
{
|
| 206 |
get { return m_CompletionPayment; }
|
| 207 |
set { m_CompletionPayment = value; }
|
| 208 |
} |
| 209 |
/// <summary> |
| 210 |
/// 引渡し時の支払日数 |
| 211 |
/// </summary> |
| 212 |
public int CompletionPaymentDays |
| 213 |
{
|
| 214 |
get { return m_CompletionPaymentDays; }
|
| 215 |
set { m_CompletionPaymentDays = value; }
|
| 216 |
} |
| 217 |
/// <summary> |
| 218 |
/// 引渡し時の支払金額 |
| 219 |
/// </summary> |
| 220 |
public double CompletionPaymentPrice |
| 221 |
{
|
| 222 |
get { return m_CompletionPaymentPrice; }
|
| 223 |
set { m_CompletionPaymentPrice = value; }
|
| 224 |
} |
| 225 |
|
| 226 |
/// <summary> |
| 227 |
/// 主任技術者コード |
| 228 |
/// </summary> |
| 229 |
public int LeadEngineerCode |
| 230 |
{
|
| 231 |
get { return m_LeadEngineerCode; }
|
| 232 |
set { m_LeadEngineerCode = value; }
|
| 233 |
} |
| 234 |
|
| 235 |
/// <summary> |
| 236 |
/// 主任技術者名 |
| 237 |
/// </summary> |
| 238 |
public string LeadEngineerName |
| 239 |
{
|
| 240 |
get { return m_LeadEngineerName; }
|
| 241 |
set { m_LeadEngineerName = value; }
|
| 242 |
} |
| 243 |
|
| 244 |
/// <summary> |
| 245 |
/// 安全管理者コード |
| 246 |
/// </summary> |
| 247 |
public int SafetyOfficerCode |
| 248 |
{
|
| 249 |
get { return m_SafetyOfficerCode; }
|
| 250 |
set { m_SafetyOfficerCode = value; }
|
| 251 |
} |
| 252 |
|
| 253 |
/// <summary> |
| 254 |
/// 安全管理者名 |
| 255 |
/// </summary> |
| 256 |
public string SafetyOfficerName |
| 257 |
{
|
| 258 |
get { return m_SafetyOfficerName; }
|
| 259 |
set { m_SafetyOfficerName = value; }
|
| 260 |
} |
| 261 |
|
| 262 |
/// <summary> |
| 263 |
/// 作業員数 |
| 264 |
/// </summary> |
| 265 |
public int WorkersCount |
| 266 |
{
|
| 267 |
get { return m_WorkersCount; }
|
| 268 |
set { m_WorkersCount = value; }
|
| 269 |
} |
| 270 |
|
| 271 |
/// <summary> |
| 272 |
/// 印刷年月日 |
| 273 |
/// </summary> |
| 274 |
public DateTime PrintoutDate |
| 275 |
{
|
| 276 |
get { return m_PrintoutDate; }
|
| 277 |
set { m_PrintoutDate = value; }
|
| 278 |
} |
| 279 |
|
| 280 |
/// <summary> |
| 281 |
/// 登録日付 |
| 282 |
/// </summary> |
| 283 |
public DateTime EntryDate |
| 284 |
{
|
| 285 |
set { m_EntryDate = value; }
|
| 286 |
get { return m_EntryDate; }
|
| 287 |
} |
| 288 |
/// <summary> |
| 289 |
/// 更新日付 |
| 290 |
/// </summary> |
| 291 |
public DateTime UpdateDate |
| 292 |
{
|
| 293 |
set { m_UpdateDate = value; }
|
| 294 |
get { return m_UpdateDate; }
|
| 295 |
} |
| 296 |
#endregion |
| 297 |
} |
| 298 |
} |