using PARR.Domain.Enums; namespace PARR.EsppSync { public interface IEsppObject { public string TemplateName { get; set; } public RobotsEnum Robot { get; } public bool IsActive { get; set; } } /// /// Облегченная модель для сравнения полей, если IsActive==false /// public class EsppLightObject : IEsppObject { public EsppLightObject(IEsppObject obj) { TemplateName = obj.TemplateName; IsActive = obj.IsActive; } public string TemplateName { get; set; } public RobotsEnum Robot { get; } public bool IsActive { get; set; } } }