// Decompiled with JetBrains decompiler
// Type: SE0085.StCl.scPVRecordHeader
// 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 Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections.Generic;

namespace SE0085.StCl
{
  public class scPVRecordHeader : scVPoint
  {
    private int _OrdSectsId;
    private int _ProdVerId;
    private DateTime _ProdVerRv;
    private bool _ProdVerNonConfExist;
    private string _ProdVerComments;
    private string _UserMCO;
    private DateTime _UpdatedDate;
    private List<scAssociateData> _QCAssociates;

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

    public int ProdVerificationId
    {
      get
      {
        return this._ProdVerId;
      }
      set
      {
        this._ProdVerId = value;
      }
    }

    public DateTime ProdVerificationRev
    {
      get
      {
        return this._ProdVerRv;
      }
      set
      {
        this._ProdVerRv = value;
      }
    }

    public bool ProdVerificationNonConfExist
    {
      get
      {
        return this._ProdVerNonConfExist;
      }
      set
      {
        this._ProdVerNonConfExist = value;
      }
    }

    public string ProdVerificationComments
    {
      get
      {
        return this._ProdVerComments;
      }
      set
      {
        this._ProdVerComments = value;
      }
    }

    public string UserMCO
    {
      get
      {
        return this._UserMCO;
      }
      set
      {
        this._UserMCO = value;
      }
    }

    public DateTime UpdatedDate
    {
      get
      {
        return this._UpdatedDate;
      }
      set
      {
        this._UpdatedDate = value;
      }
    }

    public List<scAssociateData> QCAssociates
    {
      get
      {
        return this._QCAssociates;
      }
      set
      {
        this._QCAssociates.Clear();
        this._QCAssociates.AddRange((IEnumerable<scAssociateData>) value);
      }
    }

    public DateTime DefaultDate
    {
      get
      {
        return Conversions.ToDate("01/01/2000");
      }
    }

    public scPVRecordHeader()
    {
      this._OrdSectsId = 0;
      this._ProdVerId = 0;
      this._ProdVerRv = this.DefaultDate;
      this._ProdVerNonConfExist = false;
      this._ProdVerComments = "";
      this._UserMCO = Environment.UserName;
      this._UpdatedDate = DateTime.Now;
      this._QCAssociates = new List<scAssociateData>();
    }
  }
}
