using Gestor.Model.Domain.Generic; using Gestor.Model.Helper; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace Gestor.Model.Domain.Seguros { public class CondicaoRepasse : DomainBase, IDomain { public int Parcela { get; set; } public Gestor.Model.Domain.Seguros.Ramo Ramo { get; set; } public Gestor.Model.Domain.Seguros.Seguradora Seguradora { get; set; } [JsonIgnore] public Func>> ValidationEvent { get { CondicaoRepasse condicaoRepasse = this; return new Func>>(condicaoRepasse.Validate); } } public CondicaoRepasse() { } public List> Validate() { return ValidationHelper.AddValue(); } } }