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 --- .../EmailBase.cs | 20 ++++++++ .../EnderecoBase.cs | 54 ++++++++++++++++++++++ .../EntityBase.cs | 18 ++++++++ .../TelefoneBase.cs | 31 +++++++++++++ 4 files changed, 123 insertions(+) create mode 100644 Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EmailBase.cs create mode 100644 Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EnderecoBase.cs create mode 100644 Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EntityBase.cs create mode 100644 Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/TelefoneBase.cs (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic') diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EmailBase.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EmailBase.cs new file mode 100644 index 0000000..157621b --- /dev/null +++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EmailBase.cs @@ -0,0 +1,20 @@ +using Gestor.Model.Attributes; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Generic +{ + public class EmailBase : EntityBase + { + [ForceLog(true)] + public virtual string Email + { + get; + set; + } + + public EmailBase() + { + } + } +} \ No newline at end of file diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EnderecoBase.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EnderecoBase.cs new file mode 100644 index 0000000..4cab406 --- /dev/null +++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EnderecoBase.cs @@ -0,0 +1,54 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Generic +{ + public class EnderecoBase : EntityBase + { + public virtual string Bairro + { + get; + set; + } + + public virtual string Cep + { + get; + set; + } + + public virtual string Cidade + { + get; + set; + } + + public virtual string Complemento + { + get; + set; + } + + public virtual string Endereco + { + get; + set; + } + + public virtual string Estado + { + get; + set; + } + + public virtual string Numero + { + get; + set; + } + + public EnderecoBase() + { + } + } +} \ No newline at end of file diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EntityBase.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EntityBase.cs new file mode 100644 index 0000000..38b6909 --- /dev/null +++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/EntityBase.cs @@ -0,0 +1,18 @@ +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Generic +{ + public class EntityBase + { + public virtual long Id + { + get; + set; + } + + public EntityBase() + { + } + } +} \ No newline at end of file diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/TelefoneBase.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/TelefoneBase.cs new file mode 100644 index 0000000..d415272 --- /dev/null +++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic/TelefoneBase.cs @@ -0,0 +1,31 @@ +using Gestor.Model.Common; +using System; +using System.Runtime.CompilerServices; + +namespace Gestor.Infrastructure.Entities.Generic +{ + public class TelefoneBase : EntityBase + { + public virtual string Numero + { + get; + set; + } + + public virtual string Prefixo + { + get; + set; + } + + public virtual TipoTelefone? Tipo + { + get; + set; + } + + public TelefoneBase() + { + } + } +} \ No newline at end of file -- cgit v1.2.3