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 --- Codemerx/Gestor.Model/Model.License/Instalacao.cs | 79 ++++++++++++++++++++++ Codemerx/Gestor.Model/Model.License/Licenca.cs | 42 ++++++++++++ Codemerx/Gestor.Model/Model.License/Produto.cs | 41 +++++++++++ .../Gestor.Model/Model.License/StatusLicenca.cs | 19 ++++++ 4 files changed, 181 insertions(+) create mode 100644 Codemerx/Gestor.Model/Model.License/Instalacao.cs create mode 100644 Codemerx/Gestor.Model/Model.License/Licenca.cs create mode 100644 Codemerx/Gestor.Model/Model.License/Produto.cs create mode 100644 Codemerx/Gestor.Model/Model.License/StatusLicenca.cs (limited to 'Codemerx/Gestor.Model/Model.License') diff --git a/Codemerx/Gestor.Model/Model.License/Instalacao.cs b/Codemerx/Gestor.Model/Model.License/Instalacao.cs new file mode 100644 index 0000000..59d9bb8 --- /dev/null +++ b/Codemerx/Gestor.Model/Model.License/Instalacao.cs @@ -0,0 +1,79 @@ +using Gestor.Model.Domain.Generic; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.License +{ + public class Instalacao : DomainBase + { + public string Aggilizador + { + get; + set; + } + + public DateTime Data + { + get; + set; + } + + public string Gerenciador + { + get; + set; + } + + public long IdFornecedor + { + get; + set; + } + + public string Ip + { + get; + set; + } + + public string NomeMaquina + { + get; + set; + } + + public string OSInfo + { + get; + set; + } + + public DateTime UltimoAcesso + { + get; + set; + } + + public long UsuarioId + { + get; + set; + } + + public string UsuarioMaquina + { + get; + set; + } + + public string UsuarioSistema + { + get; + set; + } + + public Instalacao() + { + } + } +} \ No newline at end of file diff --git a/Codemerx/Gestor.Model/Model.License/Licenca.cs b/Codemerx/Gestor.Model/Model.License/Licenca.cs new file mode 100644 index 0000000..dfece96 --- /dev/null +++ b/Codemerx/Gestor.Model/Model.License/Licenca.cs @@ -0,0 +1,42 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Model.License +{ + public class Licenca + { + public bool AcessoLiberado + { + get; + set; + } + + public DateTime Liberacao + { + get; + set; + } + + public Gestor.Model.License.Produto Produto + { + get; + set; + } + + public int Quantidade + { + get; + set; + } + + public int Status + { + get; + set; + } + + public Licenca() + { + } + } +} \ No newline at end of file diff --git a/Codemerx/Gestor.Model/Model.License/Produto.cs b/Codemerx/Gestor.Model/Model.License/Produto.cs new file mode 100644 index 0000000..357cce1 --- /dev/null +++ b/Codemerx/Gestor.Model/Model.License/Produto.cs @@ -0,0 +1,41 @@ +using Gestor.Model.Converter; +using System; +using System.ComponentModel; + +namespace Gestor.Model.License +{ + [TypeConverter(typeof(EnumDescriptionTypeConverter))] + public enum Produto + { + [Description("GERENCIADOR")] + Gerenciador = 1, + [Description("MATRIZ/FILIAL")] + MatrizFilial = 2, + [Description("FINANCEIRO")] + Financeiro = 4, + [Description("IMPORTADOR")] + Importador = 5, + [Description("WEBSITE")] + Website = 19, + [Description("MOBILE")] + Mobile = 27, + [Description("LICENÇA ONLINE")] + LicencaOnline = 73, + [Description("AGGILIZADOR DOCUMENTOS")] + AggilizadorDocumentos = 77, + [Description("AGGILIZADOR CALCULOS")] + AggilizadorCalculos = 79, + [Description("AGGILIZADOR CÁLCULOS INDEPENDENTE")] + AggilizadorCalculosIndependente = 81, + [Description("SUA CORRETORA DIGITAL")] + SuaCorretoraDigital = 82, + [Description("EPIC")] + Epic = 83, + [Description("AGGILIZADOR DOCUMENTOS INDEPENDENTE")] + AggilizadorDocumentosIndependente = 84, + [Description("ASSINATURA ELETRÔNICA")] + AssinaturaEletronica = 86, + [Description("NOVO AGGILIZADOR")] + NovoAggilizador = 91 + } +} \ No newline at end of file diff --git a/Codemerx/Gestor.Model/Model.License/StatusLicenca.cs b/Codemerx/Gestor.Model/Model.License/StatusLicenca.cs new file mode 100644 index 0000000..2cc22bc --- /dev/null +++ b/Codemerx/Gestor.Model/Model.License/StatusLicenca.cs @@ -0,0 +1,19 @@ +using Gestor.Model.Converter; +using System; +using System.ComponentModel; + +namespace Gestor.Model.License +{ + [TypeConverter(typeof(EnumDescriptionTypeConverter))] + public enum StatusLicenca + { + [Description("NORMAL")] + Normal, + [Description("BLOQUEADO")] + Bloqueado, + [Description("CONSULTA")] + Consulta, + [Description("CANCELADO")] + Cancelado + } +} \ No newline at end of file -- cgit v1.2.3