summaryrefslogtreecommitdiff
path: root/Gestor.Model/Gestor.Model.Domain.Seguros/CondicaoRepasse.cs
blob: a00dbc19ad8d07c37226e4e9ed1f57391cb812da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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();
	}
}