using System.Collections.Generic;

namespace AyaNovaQBI
{
    public class Part
    {
        public long Id { get; set; }
        public uint Concurrency { get; set; }
        public string Name { get; set; }//was partnumber in v7
        public bool Active { get; set; }
        public string Description { get; set; }//was "name" in v7
        public string Notes { get; set; }
        public string Wiki { get; set; }
        public string CustomFields { get; set; }
        public List<string> Tags { get; set; }


        public long? ManufacturerId { get; set; }
        public string ManufacturerViz { get; set; }
        public string ManufacturerNumber { get; set; }
        public long? WholeSalerId { get; set; }
        public string WholeSalerViz { get; set; }
        public string WholeSalerNumber { get; set; }
        public long? AlternativeWholeSalerId { get; set; }
        public string AlternativeWholeSalerViz { get; set; }
        public string AlternativeWholeSalerNumber { get; set; }
        public decimal Cost { get; set; }
        public decimal Retail { get; set; }
        public string UnitOfMeasure { get; set; }
        public string UPC { get; set; }
        public string PartSerialsViz { get; set; }


        public Part()
        {
            Tags = new List<string>();
            Active = true;
            Cost = 0m;
            Retail = 0m;
        }



    }//eoc
}
