From 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:38:18 -0300 Subject: chore: location --- .../PermissaoArquivoDigital.cs | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Codemerx/Gestor.Model/Model.Domain.Seguros/PermissaoArquivoDigital.cs (limited to 'Codemerx/Gestor.Model/Model.Domain.Seguros/PermissaoArquivoDigital.cs') diff --git a/Codemerx/Gestor.Model/Model.Domain.Seguros/PermissaoArquivoDigital.cs b/Codemerx/Gestor.Model/Model.Domain.Seguros/PermissaoArquivoDigital.cs new file mode 100644 index 0000000..39ab35a --- /dev/null +++ b/Codemerx/Gestor.Model/Model.Domain.Seguros/PermissaoArquivoDigital.cs @@ -0,0 +1,69 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using Gestor.Model.Domain.Generic; +using Gestor.Model.Validation; +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.Domain.Seguros +{ + public class PermissaoArquivoDigital : DomainBase + { + [Log(true)] + public bool Consultar + { + get; + set; + } + + [Log(true)] + public bool Excluir + { + get; + set; + } + + [Log(true)] + public bool Incluir + { + get; + set; + } + + [ForceLog(true)] + [Log(true)] + public TipoArquivoDigital Tela + { + get; + set; + } + + public Gestor.Model.Domain.Seguros.Usuario Usuario + { + get; + set; + } + + public PermissaoArquivoDigital() + { + } + + public List Log() + { + return new List() + { + new TupleList() + { + Tuples = new ObservableCollection>() + { + new Tuple("$TELA", this.Tela.GetDescription(), ""), + new Tuple(" INCLUIR", (this.Incluir ? "SIM" : "NÃO"), ""), + new Tuple(" EXCLUIR", (this.Excluir ? "SIM" : "NÃO"), "") + } + } + }; + } + } +} \ No newline at end of file -- cgit v1.2.3