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