From 0440c722a221b8068bbf388c1c0c51f0faff0451 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 14:17:46 -0300 Subject: some dlls --- .../PermissaoArquivoDigital.cs | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Gestor.Model/Gestor.Model.Domain.Seguros/PermissaoArquivoDigital.cs (limited to 'Gestor.Model/Gestor.Model.Domain.Seguros/PermissaoArquivoDigital.cs') diff --git a/Gestor.Model/Gestor.Model.Domain.Seguros/PermissaoArquivoDigital.cs b/Gestor.Model/Gestor.Model.Domain.Seguros/PermissaoArquivoDigital.cs new file mode 100644 index 0000000..697257d --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Seguros/PermissaoArquivoDigital.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using Gestor.Model.Domain.Generic; +using Gestor.Model.Validation; + +namespace Gestor.Model.Domain.Seguros; + +public class PermissaoArquivoDigital : DomainBase +{ + public Usuario Usuario { get; set; } + + [Log(true)] + [ForceLog(true)] + public TipoArquivoDigital Tela { get; set; } + + [Log(true)] + public bool Consultar { get; set; } + + [Log(true)] + public bool Incluir { get; set; } + + [Log(true)] + public bool Excluir { get; set; } + + public List Log() + { + return new List + { + new TupleList + { + Tuples = new ObservableCollection> + { + new Tuple("$TELA", Tela.GetDescription(), ""), + new Tuple(" INCLUIR", Incluir ? "SIM" : "NÃO", ""), + new Tuple(" EXCLUIR", Excluir ? "SIM" : "NÃO", "") + } + } + }; + } +} -- cgit v1.2.3