summaryrefslogtreecommitdiff
path: root/Gestor.Model/Model.Domain.Seguros/CondicaoRepasse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Model/Model.Domain.Seguros/CondicaoRepasse.cs')
-rw-r--r--Gestor.Model/Model.Domain.Seguros/CondicaoRepasse.cs49
1 files changed, 49 insertions, 0 deletions
diff --git a/Gestor.Model/Model.Domain.Seguros/CondicaoRepasse.cs b/Gestor.Model/Model.Domain.Seguros/CondicaoRepasse.cs
new file mode 100644
index 0000000..c921485
--- /dev/null
+++ b/Gestor.Model/Model.Domain.Seguros/CondicaoRepasse.cs
@@ -0,0 +1,49 @@
+using Gestor.Model.Domain.Generic;
+using Gestor.Model.Helper;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Domain.Seguros
+{
+ public class CondicaoRepasse : DomainBase, IDomain
+ {
+ public int Parcela
+ {
+ get;
+ set;
+ }
+
+ public Gestor.Model.Domain.Seguros.Ramo Ramo
+ {
+ get;
+ set;
+ }
+
+ public Gestor.Model.Domain.Seguros.Seguradora Seguradora
+ {
+ get;
+ set;
+ }
+
+ [JsonIgnore]
+ public Func<List<KeyValuePair<string, string>>> ValidationEvent
+ {
+ get
+ {
+ CondicaoRepasse condicaoRepasse = this;
+ return new Func<List<KeyValuePair<string, string>>>(condicaoRepasse.Validate);
+ }
+ }
+
+ public CondicaoRepasse()
+ {
+ }
+
+ public List<KeyValuePair<string, string>> Validate()
+ {
+ return ValidationHelper.AddValue();
+ }
+ }
+} \ No newline at end of file