From cb76b61f2641eb6e4c4124350bb1af48c780c85d Mon Sep 17 00:00:00 2001 From: hulivet1 Date: Tue, 11 Oct 2022 09:44:40 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20classe=20Compte=20sans=20les?= =?UTF-8?q?=20m=C3=A9thodes=20car=20pas=20la=20classe=20Op=C3=A9ration,=20?= =?UTF-8?q?Echancier=20et=20Plannification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/Model/Class1.cs | 7 ------- Code/Model/Compte.cs | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 Code/Model/Class1.cs create mode 100644 Code/Model/Compte.cs diff --git a/Code/Model/Class1.cs b/Code/Model/Class1.cs deleted file mode 100644 index 34183dd..0000000 --- a/Code/Model/Class1.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Model -{ - public class Class1 - { - - } -} \ No newline at end of file diff --git a/Code/Model/Compte.cs b/Code/Model/Compte.cs new file mode 100644 index 0000000..2229a29 --- /dev/null +++ b/Code/Model/Compte.cs @@ -0,0 +1,14 @@ +namespace Model +{ + public class Compte + { + public string Nom { get; private set; } + public double Solde { get; private set; } + + public Compte(string nom, double solde) + { + Nom = nom; + Solde = solde; + } + } +} \ No newline at end of file