using Gestor.Model.Attributes; using Gestor.Model.Common; using Gestor.Model.Domain.Generic; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.CompilerServices; namespace Gestor.Model.Domain.Seguros { public class RestricaoUsuarioCamposRelatorios : DomainBase { [ForceLog(true)] [Log(true)] public string Campo { get; set; } [ForceLog(true)] [Log(true)] public Gestor.Model.Common.Relatorio Relatorio { get; set; } [Log(true)] public bool Restricao { get; set; } public Gestor.Model.Domain.Seguros.Usuario Usuario { get; set; } public RestricaoUsuarioCamposRelatorios() { } public List Log() { return new List() { new TupleList() { Tuples = new ObservableCollection>() { new Tuple("$TIPO DE RESTRIÇÃO", this.Campo, ""), new Tuple(" RESTRIÇÃO ATIVA?", (this.Restricao ? "SIM" : "NÃO"), "") } } }; } } }