summaryrefslogtreecommitdiff
path: root/Gestor.Model/Model.Domain.Common/TrocaCliente.cs
blob: 00b03e16efdf6faf5ce8ee712e748e8d5a949713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
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<TupleList> Log()
		{
			return new List<TupleList>()
			{
				new TupleList()
				{
					Tuples = new ObservableCollection<Tuple<string, string, string>>()
					{
						new Tuple<string, string, string>("DESCRICAO", (string.IsNullOrWhiteSpace(this.Descricao) ? "" : this.Descricao), "")
					}
				}
			};
		}
	}
}