summaryrefslogtreecommitdiff
path: root/Gestor.Model/Gestor.Model.Domain.Relatorios.Tarefa/Tarefa.cs
blob: 6e5909a64b503a18acbd98ae4848e3b4bc08db5d (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
91
92
93
94
95
96
97
98
using System;
using System.ComponentModel;
using Gestor.Model.Attributes;
using Gestor.Model.Common;

namespace Gestor.Model.Domain.Relatorios.Tarefa;

public class Tarefa
{
	private string _usuario;

	private string _cliente;

	private string _referencia;

	private string _tipoTarefa;

	[Tipo("INVALID")]
	public long IdEntidade { get; set; }

	[Tipo("INVALID")]
	public TipoTarefa Entidade { get; set; }

	[Tipo("INVALID")]
	public long Id { get; set; }

	[Tipo("INVALID")]
	public bool Selecionado { get; set; }

	[Description("TÍTULO")]
	public string Titulo { get; set; }

	[Tipo("INVALID")]
	public long IdCliente { get; set; }

	[Description("CLIENTE")]
	public string Cliente
	{
		get
		{
			return _cliente?.ToUpper();
		}
		set
		{
			_cliente = value;
		}
	}

	[Description("USUÁRIO")]
	public string Usuario
	{
		get
		{
			return _usuario?.ToUpper();
		}
		set
		{
			_usuario = value;
		}
	}

	[Description("REFERÊNCIA")]
	public string Referencia
	{
		get
		{
			return _referencia?.ToUpper();
		}
		set
		{
			_referencia = value;
		}
	}

	[Description("TIPO DE TAREFA")]
	public string TipoTarefa
	{
		get
		{
			return _tipoTarefa?.ToUpper();
		}
		set
		{
			_tipoTarefa = value;
		}
	}

	[Tipo("DATA/TIME")]
	[Description("AGENDAMENTO")]
	public DateTime Agendamento { get; set; }

	[Tipo("DATA/TIME?")]
	[Description("CONCLUSÃO")]
	public DateTime? Conclusao { get; set; }

	[Description("STATUS")]
	public string Status { get; set; }
}