summaryrefslogtreecommitdiff
path: root/Gestor.Model/Gestor.Model.Domain.Ferramentas/AgendaTelefone.cs
blob: 59eb595081cc0ebc9a3468b2bbe79f2a33ea386d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using Gestor.Model.Domain.Generic;
using Newtonsoft.Json;

namespace Gestor.Model.Domain.Ferramentas;

public class AgendaTelefone : TelefoneBase, IDomain
{
	public Agenda Agenda { get; set; }

	public string Observacao { get; set; }

	[JsonIgnore]
	public Func<List<KeyValuePair<string, string>>> ValidationEvent => Validate;

	public List<KeyValuePair<string, string>> Validate()
	{
		return ValidateBase();
	}
}