using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace betrace_carfi_erp_driver.Components
{
    public class Article
    {
        public int Id;
        public string ArticleCode;
        public string ArticleName;
        public string BarCode;
        public string UnityGlobal;
        public string UnityBuy;
        public string UnitySale;
        public string UnityIn;
        public string UnityOut;
        public string Taxes;
        public float Discount;
        public string Provider;
        public bool Deleted;
        public bool MovStock;
        public bool GenerateSerialNumbers;
        public bool GenerateLots;
        public bool Retention;
        public bool Devolution;
        public string Observations;
        public DateTime ModificationDate;
        public string Abreviation;
        public string Family;
        public string ArticleType;
        public double PVP1;
        public double PVP2;
        public double PVP3;
        public double PVP4;
        public double PVP5;
        public double PVP6;



        public Article() { }

        public Article(
                int Id,
                string ArticleCode,
                string ArticleName,
                string BarCode,
                string UnityGlobal,
                string UnityBuy,
                string UnitySale,
                string UnityIn,
                string UnityOut,
                double ReferencePriceBuy,
                double Taxes,
                double Discount,
                string Provider,
                bool Deleted,
                bool MovStock,
                bool GenerateSerialNumbers,
                bool GenerateLots,
                bool Retention,
                bool Devolution,
                string Observations,
                DateTime CreationDate,
                DateTime ModificationDate,
                string Abreviation,
                string Family,
                string ArticleType,
                double PVP1,
                double PVP2,
                double PVP3,
                double PVP4,
                double PVP5,
                double PVP6
            )
        {
            this.Id = Id;
            this.ArticleCode = ArticleCode;
            this.ArticleName = ArticleName;
            this.BarCode = BarCode;
            this.UnityGlobal = UnityGlobal;
            this.UnityBuy = UnityBuy;
            this.UnitySale = UnitySale;
            this.UnityIn = UnityIn;
            this.UnityOut = UnityOut;
            this.Provider = Provider;
            this.Deleted = Deleted;
            this.MovStock = MovStock;
            this.GenerateSerialNumbers = GenerateSerialNumbers;
            this.GenerateLots = GenerateLots;
            this.Retention = Retention;
            this.Devolution = Devolution;
            this.Observations = Observations;
            this.ModificationDate = ModificationDate;
            this.Abreviation = Abreviation;
            this.Family = Family;
            this.ArticleType = ArticleType;
            this.PVP1 = PVP1;
            this.PVP2 = PVP2;
            this.PVP3 = PVP3;
            this.PVP4 = PVP4;
            this.PVP5 = PVP5;
            this.PVP6 = PVP6;
        }
    }
}
