summaryrefslogtreecommitdiff
path: root/Gestor.Model/Gestor.Model.Domain.Relatorios/ParametrosRelatorio.cs
blob: db2d41cfd557221f2c587f8b2aa59c65d4ba2be0 (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
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Gestor.Model.Common;

namespace Gestor.Model.Domain.Relatorios;

public class ParametrosRelatorio : INotifyPropertyChanged
{
	private bool _selecionado;

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

	public long Id { get; set; }

	public long IdUsuario { get; set; }

	public Relatorio Relatorio { get; set; }

	public string Campo { get; set; }

	public string Header { get; set; }

	public int Width { get; set; }

	public string Tipo { get; set; }

	public int Ordem { get; set; }

	public event PropertyChangedEventHandler PropertyChanged;

	protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
	{
		this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
	}
}