summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Model/Model.Domain.Seguros/Expedicao.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Model/Model.Domain.Seguros/Expedicao.cs')
-rw-r--r--Codemerx/Gestor.Model/Model.Domain.Seguros/Expedicao.cs94
1 files changed, 94 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Model/Model.Domain.Seguros/Expedicao.cs b/Codemerx/Gestor.Model/Model.Domain.Seguros/Expedicao.cs
new file mode 100644
index 0000000..5dbd8f3
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Domain.Seguros/Expedicao.cs
@@ -0,0 +1,94 @@
+using Gestor.Model.Domain.Generic;
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Domain.Seguros
+{
+ public class Expedicao : DomainBase
+ {
+ public Gestor.Model.Domain.Seguros.Documento Apolice
+ {
+ get;
+ set;
+ }
+
+ public DateTime? DataAlteracao
+ {
+ get;
+ set;
+ }
+
+ public DateTime? DataCriacao
+ {
+ get;
+ set;
+ }
+
+ public DateTime? DataEnvio
+ {
+ get;
+ set;
+ }
+
+ public DateTime? DataRecebimento
+ {
+ get;
+ set;
+ }
+
+ public string Destino
+ {
+ get;
+ set;
+ }
+
+ public string Documento
+ {
+ get;
+ set;
+ }
+
+ public string Responsavel
+ {
+ get;
+ set;
+ }
+
+ public long? UsuarioAlteracao
+ {
+ get;
+ set;
+ }
+
+ public long? UsuarioCriacao
+ {
+ get;
+ set;
+ }
+
+ public Expedicao()
+ {
+ }
+
+ public List<TupleList> Log()
+ {
+ List<TupleList> tupleLists = new List<TupleList>();
+ TupleList tupleList = new TupleList();
+ ObservableCollection<Tuple<string, string, string>> observableCollection = new ObservableCollection<Tuple<string, string, string>>()
+ {
+ new Tuple<string, string, string>("DOCUMENTO", this.Documento, ""),
+ new Tuple<string, string, string>("DESTINO", this.Destino, "")
+ };
+ DateTime? dataEnvio = this.DataEnvio;
+ observableCollection.Add(new Tuple<string, string, string>("DATA ENVIO", dataEnvio.ToString(), ""));
+ dataEnvio = this.DataRecebimento;
+ observableCollection.Add(new Tuple<string, string, string>("DATA RECEBIMENTO", dataEnvio.ToString(), ""));
+ observableCollection.Add(new Tuple<string, string, string>("RESPONSÁVEL", this.Responsavel, ""));
+ tupleList.Tuples = observableCollection;
+ tupleLists.Add(tupleList);
+ return tupleLists;
+ }
+ }
+} \ No newline at end of file