summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Model/Model.Domain.Ferramentas/AgendaTelefone.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Model/Model.Domain.Ferramentas/AgendaTelefone.cs')
-rw-r--r--Codemerx/Gestor.Model/Model.Domain.Ferramentas/AgendaTelefone.cs42
1 files changed, 42 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Model/Model.Domain.Ferramentas/AgendaTelefone.cs b/Codemerx/Gestor.Model/Model.Domain.Ferramentas/AgendaTelefone.cs
new file mode 100644
index 0000000..49d2c6d
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Domain.Ferramentas/AgendaTelefone.cs
@@ -0,0 +1,42 @@
+using Gestor.Model.Domain.Generic;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Domain.Ferramentas
+{
+ public class AgendaTelefone : TelefoneBase, IDomain
+ {
+ public Gestor.Model.Domain.Ferramentas.Agenda Agenda
+ {
+ get;
+ set;
+ }
+
+ public string Observacao
+ {
+ get;
+ set;
+ }
+
+ [JsonIgnore]
+ public Func<List<KeyValuePair<string, string>>> ValidationEvent
+ {
+ get
+ {
+ AgendaTelefone agendaTelefone = this;
+ return new Func<List<KeyValuePair<string, string>>>(agendaTelefone.Validate);
+ }
+ }
+
+ public AgendaTelefone()
+ {
+ }
+
+ public List<KeyValuePair<string, string>> Validate()
+ {
+ return base.ValidateBase(true);
+ }
+ }
+} \ No newline at end of file