using Gestor.Model.Domain.Seguros; using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Gestor.Model.Domain.Common { public class TrocaCliente { private string _descricao; private long _idClienteTrocado; private string _nomeClienteTrocado; private long _idclienteNovo; private string _nomeClienteNovo; private Gestor.Model.Domain.Seguros.Documento _documento; public string Descricao { get { string str = this._descricao; if (str != null) { return str.ToUpper(); } return null; } set { this._descricao = value; } } public Gestor.Model.Domain.Seguros.Documento Documento { get { return this._documento; } set { this._documento = value; } } public long IdClienteNovo { get { return this._idclienteNovo; } set { this._idclienteNovo = value; } } public long IdClienteTrocado { get { return this._idClienteTrocado; } set { this._idClienteTrocado = value; } } public string NomeClienteNovo { get { return this._nomeClienteNovo; } set { this._nomeClienteNovo = value; } } public string NomeClienteTrocado { get { return this._nomeClienteTrocado; } set { this._nomeClienteTrocado = value; } } public TrocaCliente() { } public List Log() { return new List() { new TupleList() { Tuples = new ObservableCollection>() { new Tuple("DESCRICAO", (string.IsNullOrWhiteSpace(this.Descricao) ? "" : this.Descricao), "") } } }; } } }