// Decompiled with JetBrains decompiler
// Type: SE0085.StCl.scItemSearch
// 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;

namespace SE0085.StCl
{
  public class scItemSearch
  {
    private string _PartNum;
    private byte _BuyMake;
    private string _OfoKan;
    private string _Desc1;
    private string _Desc2;
    private byte _AssyPartActive;
    private DateTime _DateAdded;
    private string _UOM;
    private Decimal _UnitCost;
    private string _Vendor;

    public string AssyPartNumber
    {
      get
      {
        return this._PartNum;
      }
      set
      {
        this._PartNum = value;
      }
    }

    public byte BuyMake
    {
      get
      {
        return this._BuyMake;
      }
      set
      {
        this._BuyMake = value;
      }
    }

    public string OFOKanban
    {
      get
      {
        return this._OfoKan;
      }
      set
      {
        this._OfoKan = value;
      }
    }

    public string Description1
    {
      get
      {
        return this._Desc1;
      }
      set
      {
        this._Desc1 = value;
      }
    }

    public string Description2
    {
      get
      {
        return this._Desc2;
      }
      set
      {
        this._Desc2 = value;
      }
    }

    public byte AssyPartActive
    {
      get
      {
        return this._AssyPartActive;
      }
      set
      {
        this._AssyPartActive = value;
      }
    }

    public DateTime DateAdded
    {
      get
      {
        return this._DateAdded;
      }
      set
      {
        this._DateAdded = value;
      }
    }

    public string UOM
    {
      get
      {
        return this._UOM;
      }
      set
      {
        this._UOM = value;
      }
    }

    public Decimal UnitCost
    {
      get
      {
        return this._UnitCost;
      }
      set
      {
        this._UnitCost = value;
      }
    }

    public string Vendor
    {
      get
      {
        return this._Vendor;
      }
      set
      {
        this._Vendor = value;
      }
    }

    public scItemSearch()
    {
      this._PartNum = "";
      this._BuyMake = (byte) 0;
      this._OfoKan = "";
      this._Desc1 = "";
      this._Desc2 = "";
      this._AssyPartActive = (byte) 0;
      this._DateAdded = DateTime.Now;
      this._UOM = "";
      this._UnitCost = new Decimal();
      this._Vendor = "";
    }

    public override string ToString()
    {
      return this._PartNum.PadRight(15) + " - " + this._Desc1.PadRight(25) + ", " + this._Desc2.PadRight(25) + ", " + this._OfoKan.PadRight(6);
    }
  }
}
