blob: 99b9fabec24ab05049cc16a25b6d5c97dd7f6432 (
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
|
using Gestor.Model.Attributes;
using Gestor.Model.Common;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Gestor.Model.Domain.Relatorios
{
public class FiltroRelatorio
{
private string _descricao;
[Description("DESCRIÇÃO DO FILTRO")]
public string Descricao
{
get
{
return this._descricao;
}
set
{
this._descricao = value;
if (!string.IsNullOrWhiteSpace(value))
{
this.Icone = value.Substring(0, 1);
}
}
}
public string Icone
{
get;
set;
}
public long Id
{
get;
set;
}
[Description("TIPO DO FILTRO")]
[Tipo("ENUM")]
public TipoFiltroRelatorio Tipo
{
get;
set;
}
public FiltroRelatorio()
{
}
}
}
|