using Gestor.Model.Attributes; using System; using System.ComponentModel; using System.Runtime.CompilerServices; namespace Gestor.Model.Domain.Financeiro.Relatorios { public class DadosFechamento { private string _planos; [Description("TOTAL CRÉDITO")] [Tipo("VALOR")] public decimal Credito { get; set; } [Description("TOTAL DÉBITO")] [Tipo("VALOR")] public decimal Debito { get; set; } [Description("% CRÉDITO")] [Tipo("PERCENTUAL")] public decimal PercentualCredito { get; set; } [Description("% DÉBITO")] [Tipo("PERCENTUAL")] public decimal PercentualDebito { get; set; } [Description("PLANO DE CONTAS")] public string Planos { get { string str = this._planos; if (str != null) { return str.ToUpper(); } return null; } set { this._planos = value; } } [Description("TOTAL CRÉDITO - TOTAL DÉBITO")] [Tipo("VALOR")] public decimal Soma { get; set; } [Description("% TOTAL DE CRÉDITO - % TOTAL DE DÉBITO")] [Tipo("PERCENTUAL")] public decimal SomaPercentual { get; set; } public DadosFechamento() { } } }