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