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
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Gestor.Model.Common;
using Gestor.Model.Domain.Generic;
namespace Gestor.Model.Domain.Seguros;
public class MetaSeguradora : DomainBase
{
public Seguradora Seguradora { get; set; }
public Mes Mes { get; set; }
public long Ano { get; set; }
public decimal Valor { get; set; }
public bool Recorrente { get; set; } = true;
public int TipoCalculo { get; set; } = 1;
public List<TupleList> Log()
{
return new List<TupleList>
{
new TupleList
{
Tuples = new ObservableCollection<Tuple<string, string, string>>
{
new Tuple<string, string, string>("VALOR DA META", Valor.ToString(), ""),
new Tuple<string, string, string>("MÊS", Mes.ToString(), ""),
new Tuple<string, string, string>("ANO", Ano.ToString(), "")
}
}
};
}
}
|