using System.Collections.Generic;

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

    public struct Model : IInterface
    {
        private string _plant;
        private string _subPlant;
        private string _description;
        private string _host;
        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 Host { get => _host; set => _host = value; }
        public string DescriptionDtl { get => _plant + " " + SubPlant + " " + Description + " " + Host; }
    }

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