diff options
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 |