Ajout et mise a jour de classe sur Model
continuous-integration/drone/push Build is passing Details

Code
Hugo LIVET 2 years ago
parent 3275838902
commit 8cc21d15fd

@ -4,11 +4,43 @@
{ {
public string Nom { get; private set; } public string Nom { get; private set; }
public double Solde { get; private set; } public double Solde { get; private set; }
public List<Operation> LesOpe { get; private set; } = new List<Operation>();
public List<Planification> LesPla { get; private set; } = new List<Planification>();
public List<Echeance> LesEch { get; private set; } = new List<Echeance>();
public Compte(string nom, double solde) public Compte(string nom, double solde)
{ {
Nom = nom; Nom = nom;
Solde = solde; Solde = solde;
LesOpe = new List<Operation>();
LesPla = new List<Planification>();
LesEch = new List<Echeance>();
}
public Compte(string nom, double solde, List<Operation> lesOpe)
{
Nom = nom;
Solde = solde;
LesOpe = lesOpe;
}
public Compte(string nom, double solde, List<Operation> lesOpe, List<Planification> lesPla)
{
Nom = nom;
Solde = solde;
LesOpe = lesOpe;
LesPla = lesPla;
} }
public Compte(string nom, double solde, List<Operation> lesOpe, List<Planification> lesPla, List<Echeance> lesEch)
{
Nom = nom;
Solde = solde;
LesOpe = lesOpe;
LesPla = lesPla;
LesEch = lesEch;
}
public void modifierSolde(double s)
{
Solde = s;
}
} }
} }

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class Echeance
{
}
}

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class Operation
{
}
}

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class Planification
{
}
}

@ -1637,7 +1637,7 @@
"top": 947, "top": 947,
"width": 228.693359375, "width": 228.693359375,
"height": 13, "height": 13,
"text": "+opeCredit(o: Opérations)", "text": "+ajouterOpe(o: Opérations)",
"horizontalAlignment": 0 "horizontalAlignment": 0
}, },
{ {
@ -1657,23 +1657,6 @@
"text": "+cacheOpe(o: Opérations)", "text": "+cacheOpe(o: Opérations)",
"horizontalAlignment": 0 "horizontalAlignment": 0
}, },
{
"_type": "UMLOperationView",
"_id": "AAAAAAGDq+z2UNsiEcY=",
"_parent": {
"$ref": "AAAAAAGDnMbyVhA/fnM="
},
"model": {
"$ref": "AAAAAAGDq+z2SdsZ2jw="
},
"font": "Arial;13;0",
"left": 1325,
"top": 977,
"width": 228.693359375,
"height": 13,
"text": "+opeDebit(o: Opérations)",
"horizontalAlignment": 0
},
{ {
"_type": "UMLOperationView", "_type": "UMLOperationView",
"_id": "AAAAAAGDq+z5ydvcHm4=", "_id": "AAAAAAGDq+z5ydvcHm4=",
@ -1685,7 +1668,7 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 1325, "left": 1325,
"top": 992, "top": 977,
"width": 228.693359375, "width": 228.693359375,
"height": 13, "height": 13,
"text": "+delOpe(o: Opérations)", "text": "+delOpe(o: Opérations)",
@ -1702,7 +1685,7 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 1325, "left": 1325,
"top": 1007, "top": 992,
"width": 228.693359375, "width": 228.693359375,
"height": 13, "height": 13,
"text": "+ajoutEcheance(e: Echeancier)", "text": "+ajoutEcheance(e: Echeancier)",
@ -1719,7 +1702,7 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 1325, "left": 1325,
"top": 1022, "top": 1007,
"width": 228.693359375, "width": 228.693359375,
"height": 13, "height": 13,
"text": "+supprimerEcheance(e: Echeancier)", "text": "+supprimerEcheance(e: Echeancier)",
@ -1736,7 +1719,7 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 1325, "left": 1325,
"top": 1037, "top": 1022,
"width": 228.693359375, "width": 228.693359375,
"height": 13, "height": 13,
"text": "+ajoutPlanification(p: Planification)", "text": "+ajoutPlanification(p: Planification)",
@ -1753,7 +1736,7 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 1325, "left": 1325,
"top": 1052, "top": 1037,
"width": 228.693359375, "width": 228.693359375,
"height": 13, "height": 13,
"text": "+supprimerPlanification(p: Planification)", "text": "+supprimerPlanification(p: Planification)",
@ -1764,7 +1747,7 @@
"left": 1320, "left": 1320,
"top": 927, "top": 927,
"width": 238.693359375, "width": 238.693359375,
"height": 143 "height": 128
}, },
{ {
"_type": "UMLReceptionCompartmentView", "_type": "UMLReceptionCompartmentView",
@ -9132,7 +9115,7 @@
"_parent": { "_parent": {
"$ref": "AAAAAAGDnMbyVhA2ArI=" "$ref": "AAAAAAGDnMbyVhA2ArI="
}, },
"name": "opeCredit", "name": "ajouterOpe",
"parameters": [ "parameters": [
{ {
"_type": "UMLParameter", "_type": "UMLParameter",
@ -9168,27 +9151,6 @@
} }
] ]
}, },
{
"_type": "UMLOperation",
"_id": "AAAAAAGDq+z2SdsZ2jw=",
"_parent": {
"$ref": "AAAAAAGDnMbyVhA2ArI="
},
"name": "opeDebit",
"parameters": [
{
"_type": "UMLParameter",
"_id": "AAAAAAGDq+8z1eKDTrE=",
"_parent": {
"$ref": "AAAAAAGDq+z2SdsZ2jw="
},
"name": "o",
"type": {
"$ref": "AAAAAAGDobAQFE79l/8="
}
}
]
},
{ {
"_type": "UMLOperation", "_type": "UMLOperation",
"_id": "AAAAAAGDq+z5wdvT+JU=", "_id": "AAAAAAGDq+z5wdvT+JU=",

Loading…
Cancel
Save