// Decompiled with JetBrains decompiler
// Type: SE0085.StCl.scWOFlat
// Assembly: SE0085StCl, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null
// MVID: 2F536775-F65D-4A2A-A94A-55B55F096E84
// Assembly location: C:\Users\Abishek\Downloads\SchneiderCode_Breaker_09292016\Breaker Schedule-20160930T014118Z\Breaker Schedule\Solution for gathering Breaker Data\DMS\bin\Debug\SE0085StCl.dll

using System;
using System.Collections.Generic;

namespace SE0085.StCl
{
  public class scWOFlat : scOrderData
  {
    private int _PKWOHId;
    private DateTime _WOSubmitDate;
    private int _FKReqById;
    private int _FKPriorityId;
    private string _Comments;
    private long _CCL7DWOCode;
    private string _CCL7DWOChain;
    private int _ASPNum;
    private int _ECNNum;
    private byte _WOSkipNest;
    private scWOParts _WOPart;
    private scAssociateData _WORequestedBy;
    private List<scAssociateData> _WODeliverTo;
    private scWOPriority _Priority;
    private scAssociateData _WODelivered2;
    private double _CostData;

    public int PKWOHId
    {
      get
      {
        return this._PKWOHId;
      }
      set
      {
        this._PKWOHId = value;
      }
    }

    public DateTime WOSubmitDate
    {
      get
      {
        return this._WOSubmitDate;
      }
      set
      {
        this._WOSubmitDate = value;
      }
    }

    public int FKReqByID
    {
      get
      {
        return this._FKReqById;
      }
      set
      {
        this._FKReqById = value;
      }
    }

    public int FKPriorityID
    {
      get
      {
        return this._FKPriorityId;
      }
      set
      {
        this._FKPriorityId = value;
      }
    }

    public string Comments
    {
      get
      {
        return this._Comments;
      }
      set
      {
        this._Comments = value;
      }
    }

    public long CCL7DWOCode
    {
      get
      {
        return this._CCL7DWOCode;
      }
      set
      {
        this._CCL7DWOCode = value;
      }
    }

    public string CCL7DWOChain
    {
      get
      {
        return this._CCL7DWOChain;
      }
      set
      {
        this._CCL7DWOChain = value;
      }
    }

    public int ASPNum
    {
      get
      {
        return this._ASPNum;
      }
      set
      {
        this._ASPNum = value;
      }
    }

    public int ECNNum
    {
      get
      {
        return this._ECNNum;
      }
      set
      {
        this._ECNNum = value;
      }
    }

    public scWOParts WOPart
    {
      get
      {
        return this._WOPart;
      }
      set
      {
        this._WOPart = value;
      }
    }

    public scAssociateData WORequestedBy
    {
      get
      {
        return this._WORequestedBy;
      }
      set
      {
        this._WORequestedBy = value;
      }
    }

    public List<scAssociateData> WODeliverTo
    {
      get
      {
        return this._WODeliverTo;
      }
      set
      {
        this._WODeliverTo = value;
      }
    }

    public byte WOSkipNest
    {
      get
      {
        return this._WOSkipNest;
      }
      set
      {
        this._WOSkipNest = value;
      }
    }

    public bool WOSkipNestBool
    {
      get
      {
        return (int) this._WOSkipNest != 0;
      }
      set
      {
        if (value)
          this._WOSkipNest = (byte) 1;
        else
          this._WOSkipNest = (byte) 0;
      }
    }

    public int PKWOPartsId
    {
      get
      {
        return this._WOPart.PKWOPartsId;
      }
      set
      {
        this._WOPart.PKWOPartsId = value;
      }
    }

    public string PartNumber
    {
      get
      {
        return this._WOPart.PartNumber;
      }
      set
      {
        this._WOPart.PartNumber = value;
      }
    }

    public int FKPartTypeId
    {
      get
      {
        return this._WOPart.FKPartTypeId;
      }
      set
      {
        this._WOPart.FKPartTypeId = value;
      }
    }

    public string PartTypeDesc
    {
      get
      {
        return this._WOPart.PartTypeDesc;
      }
      set
      {
        this._WOPart.PartTypeDesc = value;
      }
    }

    public long PartAttrComp
    {
      get
      {
        return this._WOPart.PartAttrComp;
      }
      set
      {
        this._WOPart.PartAttrComp = value;
      }
    }

    public string PartAttrDesc
    {
      get
      {
        return this._WOPart.PartAttrDesc;
      }
      set
      {
        this._WOPart.PartAttrDesc = value;
      }
    }

    public int Quantity
    {
      get
      {
        return this._WOPart.Quantity;
      }
      set
      {
        this._WOPart.Quantity = value;
      }
    }

    public DateTime PartCompDate
    {
      get
      {
        return this._WOPart.PartCompDate;
      }
      set
      {
        this._WOPart.PartCompDate = value;
      }
    }

    public string WorkCell
    {
      get
      {
        return this._WOPart.WorkCell;
      }
      set
      {
        this._WOPart.WorkCell = value;
      }
    }

    public int OrdSectsId
    {
      get
      {
        return this._WOPart.OrdSectsId;
      }
      set
      {
        this._WOPart.OrdSectsId = value;
      }
    }

    public int OrdSectsNum
    {
      get
      {
        return this._WOPart.OrdSectsNum;
      }
      set
      {
        this._WOPart.OrdSectsNum = value;
      }
    }

    public DateTime ECNDate
    {
      get
      {
        return this._WOPart.ECNDate;
      }
      set
      {
        this._WOPart.ECNDate = value;
      }
    }

    public DateTime DueDate
    {
      get
      {
        return this._WOPart.DueDate;
      }
      set
      {
        this._WOPart.DueDate = value;
      }
    }

    public scWOPriority Priority
    {
      get
      {
        return this._Priority;
      }
      set
      {
        this._Priority = value;
      }
    }

    public DateTime PartNestDate
    {
      get
      {
        return this._WOPart.PartNestDate;
      }
      set
      {
        this._WOPart.PartNestDate = value;
      }
    }

    public DateTime PartDelvFabDate
    {
      get
      {
        return this._WOPart.PartDelvFabDate;
      }
      set
      {
        this._WOPart.PartDelvFabDate = value;
      }
    }

    public DateTime PartFinalDelvDate
    {
      get
      {
        return this._WOPart.PartFinalDelvDate;
      }
      set
      {
        this._WOPart.PartFinalDelvDate = value;
      }
    }

    public string PartOrderTrk
    {
      get
      {
        return this._WOPart.PartOrderTrk;
      }
      set
      {
        this._WOPart.PartOrderTrk = value;
      }
    }

    public int PartDelv2AssocId
    {
      get
      {
        return this._WOPart.PartDelv2AssocId;
      }
      set
      {
        this._WOPart.PartDelv2AssocId = value;
      }
    }

    public scAssociateData WODelivered2
    {
      get
      {
        return this._WODelivered2;
      }
      set
      {
        this._WODelivered2 = value;
      }
    }

    public double CostData
    {
      get
      {
        return this._CostData;
      }
      set
      {
        this._CostData = value;
      }
    }

    public scWOFlat()
    {
      this._PKWOHId = 0;
      this._WOSubmitDate = DateTime.Now;
      this._FKReqById = 0;
      this._FKPriorityId = 0;
      this._Comments = "";
      this._CCL7DWOCode = 0L;
      this._CCL7DWOChain = "";
      this._ASPNum = 0;
      this._ECNNum = 0;
      this._WOSkipNest = (byte) 0;
      this._WOPart = new scWOParts();
      this._WORequestedBy = new scAssociateData();
      this._WODeliverTo = new List<scAssociateData>();
      this._Priority = new scWOPriority();
      this._WODelivered2 = new scAssociateData();
      this._CostData = 0.0;
    }
  }
}
