|
|
|
@ -11,7 +11,7 @@ namespace Model
|
|
|
|
|
public class Echeance
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public string IntituleOperation { get; private set; }
|
|
|
|
|
public string Nom { get; private set; }
|
|
|
|
|
|
|
|
|
|
public double Montant { get; private set; }
|
|
|
|
|
|
|
|
|
@ -23,9 +23,9 @@ namespace Model
|
|
|
|
|
public TagOperation Tag { get; private set; }
|
|
|
|
|
|
|
|
|
|
[JsonConstructor]
|
|
|
|
|
public Echeance(string intituleOperation, double montant, DateTime dateOperation, MethodePayement modePayement, TagOperation tag, bool isDebit = true)
|
|
|
|
|
public Echeance(string nom, double montant, DateTime dateOperation, MethodePayement modePayement, TagOperation tag, bool isDebit = true)
|
|
|
|
|
{
|
|
|
|
|
IntituleOperation = intituleOperation;
|
|
|
|
|
Nom = nom;
|
|
|
|
|
Montant = montant;
|
|
|
|
|
DateOperation = dateOperation;
|
|
|
|
|
ModePayement = modePayement;
|
|
|
|
@ -35,7 +35,7 @@ namespace Model
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return IntituleOperation + " " + DateOperation + " " + Montant + " " + ModePayement + " " + IsDebit + " " + Tag;
|
|
|
|
|
return Nom + " " + DateOperation + " " + Montant + " " + ModePayement + " " + IsDebit + " " + Tag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|