using System.Collections.Generic;

namespace FSI.Lib.Guis.TxtToClip.Mgt
{
    public interface IInterface
    {
        string Plant { get; set; }
        string SubPlant { get; set; }        
        string Description { get; set; }
        string Txt { get; set; }
    }

    public struct Model : IInterface
    {
        private string _plant;
        private string _subPlant;        
        private string _description;
        private string _txt;
        public string Plant { get => _plant; set => _plant = value; }
        public string SubPlant { get => _subPlant; set => _subPlant = value; }      
        public string Description { get => _description; set => _description = value; }
        public string Txt { get => _txt; set => _txt = value; }
        public string DescriptionDtl { get => _plant + " " + SubPlant + " " + Description; }
    }

    public interface IDataProvider
    {
        IEnumerable<Model> Load(IEnumerable<IInterface> datas);
    }
}
