summaryrefslogtreecommitdiff
path: root/Gestor.Model/Gestor.Model.Domain.Seguros/RestricaoUsuarioCamposRelatorios.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Model/Gestor.Model.Domain.Seguros/RestricaoUsuarioCamposRelatorios.cs')
-rw-r--r--Gestor.Model/Gestor.Model.Domain.Seguros/RestricaoUsuarioCamposRelatorios.cs39
1 files changed, 39 insertions, 0 deletions
diff --git a/Gestor.Model/Gestor.Model.Domain.Seguros/RestricaoUsuarioCamposRelatorios.cs b/Gestor.Model/Gestor.Model.Domain.Seguros/RestricaoUsuarioCamposRelatorios.cs
new file mode 100644
index 0000000..e781e19
--- /dev/null
+++ b/Gestor.Model/Gestor.Model.Domain.Seguros/RestricaoUsuarioCamposRelatorios.cs
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using Gestor.Model.Attributes;
+using Gestor.Model.Common;
+using Gestor.Model.Domain.Generic;
+
+namespace Gestor.Model.Domain.Seguros;
+
+public class RestricaoUsuarioCamposRelatorios : DomainBase
+{
+ [Log(true)]
+ [ForceLog(true)]
+ public string Campo { get; set; }
+
+ public Usuario Usuario { get; set; }
+
+ [Log(true)]
+ [ForceLog(true)]
+ public Relatorio Relatorio { get; set; }
+
+ [Log(true)]
+ public bool Restricao { get; set; }
+
+ public List<TupleList> Log()
+ {
+ return new List<TupleList>
+ {
+ new TupleList
+ {
+ Tuples = new ObservableCollection<Tuple<string, string, string>>
+ {
+ new Tuple<string, string, string>("$TIPO DE RESTRIÇÃO", Campo, ""),
+ new Tuple<string, string, string>(" RESTRIÇÃO ATIVA?", Restricao ? "SIM" : "NÃO", "")
+ }
+ }
+ };
+ }
+}