diff options
Diffstat (limited to 'Gestor.Model/Gestor.Model.Domain.Relatorios.Tarefa/Tarefa.cs')
| -rw-r--r-- | Gestor.Model/Gestor.Model.Domain.Relatorios.Tarefa/Tarefa.cs | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/Gestor.Model/Gestor.Model.Domain.Relatorios.Tarefa/Tarefa.cs b/Gestor.Model/Gestor.Model.Domain.Relatorios.Tarefa/Tarefa.cs new file mode 100644 index 0000000..6e5909a --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Relatorios.Tarefa/Tarefa.cs @@ -0,0 +1,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; } +} |