From 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:38:18 -0300 Subject: chore: location --- .../ManutencaoPagamentos.cs | 361 +++++++++++++++++++++ 1 file changed, 361 insertions(+) create mode 100644 Codemerx/Gestor.Model/Model.Domain.Ferramentas/ManutencaoPagamentos.cs (limited to 'Codemerx/Gestor.Model/Model.Domain.Ferramentas/ManutencaoPagamentos.cs') diff --git a/Codemerx/Gestor.Model/Model.Domain.Ferramentas/ManutencaoPagamentos.cs b/Codemerx/Gestor.Model/Model.Domain.Ferramentas/ManutencaoPagamentos.cs new file mode 100644 index 0000000..5690621 --- /dev/null +++ b/Codemerx/Gestor.Model/Model.Domain.Ferramentas/ManutencaoPagamentos.cs @@ -0,0 +1,361 @@ +using Gestor.Model.Attributes; +using Gestor.Model.Common; +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using System.Threading; + +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; + + [Description("APÓLICE")] + public string Apolice + { + get + { + string str = this._apolice; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._apolice = value; + this.OnPropertyChanged("Apolice"); + } + } + + [Description("EMPRESA")] + public string Empresa + { + get + { + string str = this._empresa; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._empresa = value; + this.OnPropertyChanged("Empresa"); + } + } + + [Description("ENDOSSO")] + public string Endosso + { + get + { + string str = this._endosso; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._endosso = value; + this.OnPropertyChanged("Endosso"); + } + } + + [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 this._isExpanded; + } + set + { + this._isExpanded = value; + this.OnPropertyChanged("IsExpanded"); + } + } + + [Description("CLIENTE")] + public string Nome + { + get + { + string str = this._nome; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._nome = value; + this.OnPropertyChanged("Nome"); + } + } + + [Description("DATA DE PAGAMENTO")] + public DateTime Pagamento + { + get + { + return this._pagamento; + } + set + { + this._pagamento = value; + this.OnPropertyChanged("Pagamento"); + } + } + + [Description("PARCELA")] + public int Parcela + { + get + { + return this._parcela; + } + set + { + this._parcela = value; + this.OnPropertyChanged("Parcela"); + } + } + + [Description("PREVISÃO DE PAGAMENTO")] + public DateTime PrevisaoPagamento + { + get + { + return this._previsaoPagamento; + } + set + { + this._previsaoPagamento = value; + this.OnPropertyChanged("PrevisaoPagamento"); + } + } + + [Description("PRODUTO")] + public string Produto + { + get + { + string str = this._produto; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._produto = value; + this.OnPropertyChanged("Produto"); + } + } + + [Description("RAMO")] + public string Ramo + { + get + { + string str = this._ramo; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._ramo = value; + this.OnPropertyChanged("Ramo"); + } + } + + [Description("RECEBIMENTO")] + public DateTime? Recebimento + { + get + { + return this._recebimento; + } + set + { + this._recebimento = value; + this.OnPropertyChanged("Recebimento"); + } + } + + [Description("SEGURADORA")] + public string Seguradora + { + get + { + string str = this._seguradora; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._seguradora = value; + this.OnPropertyChanged("Seguradora"); + } + } + + [Tipo("INVALID")] + public bool Selecionado + { + get + { + return this._selecionado; + } + set + { + this._selecionado = value; + this.OnPropertyChanged("Selecionado"); + } + } + + [Description("TIPO DA PARCELA")] + public SubTipo Tipo + { + get + { + return this._tipo; + } + set + { + this._tipo = value; + this.OnPropertyChanged("Tipo"); + } + } + + [Description("VALOR DA PARCELA")] + public decimal Valor + { + get + { + return this._valor; + } + set + { + this._valor = value; + this.OnPropertyChanged("Valor"); + } + } + + [Description("VALOR DE REPASSE")] + public decimal ValorRepasse + { + get + { + return this._valorRepasse; + } + set + { + this._valorRepasse = value; + this.OnPropertyChanged("ValorRepasse"); + } + } + + [Description("VENDEDOR")] + public string Vendedor + { + get + { + string str = this._vendedor; + if (str != null) + { + return str.ToUpper(); + } + return null; + } + set + { + this._vendedor = value; + this.OnPropertyChanged("Vendedor"); + } + } + + public ManutencaoPagamentos() + { + } + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged; + if (propertyChangedEventHandler == null) + { + return; + } + propertyChangedEventHandler(this, new PropertyChangedEventArgs(propertyName)); + } + + public event PropertyChangedEventHandler PropertyChanged; + } +} \ No newline at end of file -- cgit v1.2.3