diff options
| author | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:38:18 +0000 |
|---|---|---|
| committer | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:38:18 +0000 |
| commit | 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 (patch) | |
| tree | e1c3b20ea08f0cf71122a1e73f0d395f8fd83874 /Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic | |
| parent | 674ca83ba9243a9e95a7568c797668dab6aee26a (diff) | |
| download | gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.tar.gz gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.zip | |
chore: location
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Entities.Generic')
4 files changed, 123 insertions, 0 deletions
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 |