summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Model/Model.Domain.Relatorios/ParametrosRelatorio.cs
blob: 5cd44702841084f817ef8cde063ec9571861cd3c (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
using Gestor.Model.Common;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Threading;

namespace Gestor.Model.Domain.Relatorios
{
	public class ParametrosRelatorio : INotifyPropertyChanged
	{
		private bool _selecionado;

		public string Campo
		{
			get;
			set;
		}

		public string Header
		{
			get;
			set;
		}

		public long Id
		{
			get;
			set;
		}

		public long IdUsuario
		{
			get;
			set;
		}

		public int Ordem
		{
			get;
			set;
		}

		public Gestor.Model.Common.Relatorio Relatorio
		{
			get;
			set;
		}

		public bool Selecionado
		{
			get
			{
				return this._selecionado;
			}
			set
			{
				this._selecionado = value;
				this.OnPropertyChanged("Selecionado");
			}
		}

		public string Tipo
		{
			get;
			set;
		}

		public int Width
		{
			get;
			set;
		}

		public ParametrosRelatorio()
		{
		}

		protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
		{
			PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged;
			if (propertyChangedEventHandler == null)
			{
				return;
			}
			propertyChangedEventHandler(this, new PropertyChangedEventArgs(propertyName));
		}

		public event PropertyChangedEventHandler PropertyChanged;
	}
}