using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace migrate_data
{
    public class SQLCreator
    {
        public List<string> GetProperties<T>(T obj) 
        {
            List<string> list = new List<string>();
            foreach (PropertyInfo pi in obj.GetType().GetProperties())
            {
                list.Add(string.Format("\"{0}\"", pi.Name));
            }
            return list;
        }
    

        
    }
    public class pgdspec
    {
        public int id { get; set; }
        public string reasonForChange { get; set; }
        public string workInstruction { get; set; }
        public bool? customerNotification { get; set; }
        public bool? facRequired { get; set; }
        public string validation { get; set; }
        public string approvedUserId { get; set; }
        public DateTime? approvedDate { get; set; }
        public string oereman { get; set; }
        public string basicClass { get; set; }
        public string built { get; set; }
        public int? sameAsId { get; set; }
        public string except { get; set; }
        public int? makeFrom { get; set; }
        public string floatStock { get; set; }
        public string voltage { get; set; }
        public string rotation { get; set; }
        public string terminalPosition { get; set; }
        public string drive { get; set; }
        public string pinion { get; set; }
        public string switchPosition { get; set; }
        public string ho { get; set; }
        public string sae { get; set; }
        public string ftf { get; set; }
        public string opening { get; set; }
        public string treatment { get; set; }
        public string curve { get; set; }
        public string remarks { get; set; }
        public bool? jsp { get; set; }
        public string suctionPort { get; set; }
        public string pressurePort { get; set; }
        public string suctionFitting { get; set; }
        public string pressureFitting { get; set; }
        public string serviceReplacementRef { get; set; }
        public string tagNumber { get; set; }
        public bool? plrv { get; set; }
        public bool? rtv { get; set; }
        public string frequency { get; set; }
        public string note { get; set; }
        public string additionalParts { get; set; }
        public string gasket { get; set; }
        public string metalTag { get; set; }
        public string paperTag { get; set; }
        public string otherTag { get; set; }
        public string bracket { get; set; }
        public string box { get; set; }
        public DateTime? createDate { get; set; }
        public int? createUserId { get; set; }
        public DateTime? updateDate { get; set; }
        public int? updateUserId { get; set; }
        public int partNumberId { get; set; }
        public int statusId { get; set; }
        public string application { get; set; }
        public string swtch { get; set; }
        public string mtgh { get; set; }
        public string pitch { get; set; }
        public bool? facCompleted { get; set; }
        public string revisionLevel { get; set; }
        public DateTime? effectiveDate { get; set; }
        public string signed { get; set; }
        public string chked { get; set; }
        public string weight { get; set; }
        public DateTime? signedDate { get; set; }
        public DateTime? checkedDate { get; set; }
    }
}
