summaryrefslogtreecommitdiff
path: root/Gestor.Model/Model.Domain.Ferramentas/AgendaTelefone.cs
blob: 49d2c6d7bcf2b79c603a69030e296eced7176a73 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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);
		}
	}
}