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; } }