summaryrefslogtreecommitdiff
path: root/Gestor.Model/Model.License
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Model/Model.License')
-rw-r--r--Gestor.Model/Model.License/Instalacao.cs79
-rw-r--r--Gestor.Model/Model.License/Licenca.cs42
-rw-r--r--Gestor.Model/Model.License/Produto.cs41
-rw-r--r--Gestor.Model/Model.License/StatusLicenca.cs19
4 files changed, 181 insertions, 0 deletions
diff --git a/Gestor.Model/Model.License/Instalacao.cs b/Gestor.Model/Model.License/Instalacao.cs
new file mode 100644
index 0000000..59d9bb8
--- /dev/null
+++ b/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/Gestor.Model/Model.License/Licenca.cs b/Gestor.Model/Model.License/Licenca.cs
new file mode 100644
index 0000000..dfece96
--- /dev/null
+++ b/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/Gestor.Model/Model.License/Produto.cs b/Gestor.Model/Model.License/Produto.cs
new file mode 100644
index 0000000..357cce1
--- /dev/null
+++ b/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/Gestor.Model/Model.License/StatusLicenca.cs b/Gestor.Model/Model.License/StatusLicenca.cs
new file mode 100644
index 0000000..2cc22bc
--- /dev/null
+++ b/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