From 0440c722a221b8068bbf388c1c0c51f0faff0451 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 14:17:46 -0300 Subject: some dlls --- .../ManutencaoPagamentos.cs | 298 +++++++++++++++++++++ 1 file changed, 298 insertions(+) create mode 100644 Gestor.Model/Gestor.Model.Domain.Ferramentas/ManutencaoPagamentos.cs (limited to 'Gestor.Model/Gestor.Model.Domain.Ferramentas/ManutencaoPagamentos.cs') diff --git a/Gestor.Model/Gestor.Model.Domain.Ferramentas/ManutencaoPagamentos.cs b/Gestor.Model/Gestor.Model.Domain.Ferramentas/ManutencaoPagamentos.cs new file mode 100644 index 0000000..d40d220 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Domain.Ferramentas/ManutencaoPagamentos.cs @@ -0,0 +1,298 @@ +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using Gestor.Model.Attributes; +using Gestor.Model.Common; + +namespace Gestor.Model.Domain.Ferramentas; + +public class ManutencaoPagamentos : INotifyPropertyChanged +{ + private bool _isExpanded; + + private bool _selecionado; + + private string _nome; + + private string _empresa; + + private string _apolice; + + private string _endosso; + + private string _seguradora; + + private string _ramo; + + private string _produto; + + private SubTipo _tipo; + + private decimal _valorRepasse; + + private DateTime _pagamento; + + private DateTime _previsaoPagamento; + + private string _vendedor; + + private decimal _valor; + + private DateTime? _recebimento; + + private int _parcela; + + [Tipo("INVALID")] + public long Id { get; set; } + + [Tipo("INVALID")] + public long IdDocumento { get; set; } + + [Tipo("INVALID")] + public long IdParcela { get; set; } + + [Tipo("INVALID")] + public bool IsExpanded + { + get + { + return _isExpanded; + } + set + { + _isExpanded = value; + OnPropertyChanged("IsExpanded"); + } + } + + [Tipo("INVALID")] + public bool Selecionado + { + get + { + return _selecionado; + } + set + { + _selecionado = value; + OnPropertyChanged("Selecionado"); + } + } + + [Description("EMPRESA")] + public string Empresa + { + get + { + return _empresa?.ToUpper(); + } + set + { + _empresa = value; + OnPropertyChanged("Empresa"); + } + } + + [Description("CLIENTE")] + public string Nome + { + get + { + return _nome?.ToUpper(); + } + set + { + _nome = value; + OnPropertyChanged("Nome"); + } + } + + [Description("APÓLICE")] + public string Apolice + { + get + { + return _apolice?.ToUpper(); + } + set + { + _apolice = value; + OnPropertyChanged("Apolice"); + } + } + + [Description("ENDOSSO")] + public string Endosso + { + get + { + return _endosso?.ToUpper(); + } + set + { + _endosso = value; + OnPropertyChanged("Endosso"); + } + } + + [Description("SEGURADORA")] + public string Seguradora + { + get + { + return _seguradora?.ToUpper(); + } + set + { + _seguradora = value; + OnPropertyChanged("Seguradora"); + } + } + + [Description("RAMO")] + public string Ramo + { + get + { + return _ramo?.ToUpper(); + } + set + { + _ramo = value; + OnPropertyChanged("Ramo"); + } + } + + [Description("PRODUTO")] + public string Produto + { + get + { + return _produto?.ToUpper(); + } + set + { + _produto = value; + OnPropertyChanged("Produto"); + } + } + + [Description("TIPO DA PARCELA")] + public SubTipo Tipo + { + get + { + return _tipo; + } + set + { + _tipo = value; + OnPropertyChanged("Tipo"); + } + } + + [Description("PARCELA")] + public int Parcela + { + get + { + return _parcela; + } + set + { + _parcela = value; + OnPropertyChanged("Parcela"); + } + } + + [Description("RECEBIMENTO")] + public DateTime? Recebimento + { + get + { + return _recebimento; + } + set + { + _recebimento = value; + OnPropertyChanged("Recebimento"); + } + } + + [Description("VALOR DA PARCELA")] + public decimal Valor + { + get + { + return _valor; + } + set + { + _valor = value; + OnPropertyChanged("Valor"); + } + } + + [Description("VENDEDOR")] + public string Vendedor + { + get + { + return _vendedor?.ToUpper(); + } + set + { + _vendedor = value; + OnPropertyChanged("Vendedor"); + } + } + + [Description("PREVISÃO DE PAGAMENTO")] + public DateTime PrevisaoPagamento + { + get + { + return _previsaoPagamento; + } + set + { + _previsaoPagamento = value; + OnPropertyChanged("PrevisaoPagamento"); + } + } + + [Description("DATA DE PAGAMENTO")] + public DateTime Pagamento + { + get + { + return _pagamento; + } + set + { + _pagamento = value; + OnPropertyChanged("Pagamento"); + } + } + + [Description("VALOR DE REPASSE")] + public decimal ValorRepasse + { + get + { + return _valorRepasse; + } + set + { + _valorRepasse = value; + OnPropertyChanged("ValorRepasse"); + } + } + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } +} -- cgit v1.2.3