summaryrefslogtreecommitdiff
path: root/Gestor.Model/Gestor.Model.Domain.Seguros/Expedicao.cs
blob: c91e2de92cb8e3e490703ae4a1e810c5ff9731aa (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
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Gestor.Model.Domain.Generic;

namespace Gestor.Model.Domain.Seguros;

public class Expedicao : DomainBase
{
	public Documento Apolice { get; set; }

	public string Documento { get; set; }

	public string Destino { get; set; }

	public DateTime? DataEnvio { get; set; }

	public DateTime? DataRecebimento { get; set; }

	public string Responsavel { get; set; }

	public long? UsuarioCriacao { get; set; }

	public DateTime? DataCriacao { get; set; }

	public long? UsuarioAlteracao { get; set; }

	public DateTime? DataAlteracao { get; set; }

	public List<TupleList> Log()
	{
		return new List<TupleList>
		{
			new TupleList
			{
				Tuples = new ObservableCollection<Tuple<string, string, string>>
				{
					new Tuple<string, string, string>("DOCUMENTO", Documento, ""),
					new Tuple<string, string, string>("DESTINO", Destino, ""),
					new Tuple<string, string, string>("DATA ENVIO", DataEnvio.ToString(), ""),
					new Tuple<string, string, string>("DATA RECEBIMENTO", DataRecebimento.ToString(), ""),
					new Tuple<string, string, string>("RESPONSÁVEL", Responsavel, "")
				}
			}
		};
	}
}