From 8f905f7670ef941f3f1243eb74fed8ec94399b67 Mon Sep 17 00:00:00 2001 From: anperederi Date: Wed, 26 Apr 2023 11:37:44 +0200 Subject: [PATCH 1/7] modif du diagramme de classe --- docPrepaAppli-IHM/DiagrammeClasse.mdj | 457 +++++++++----------------- 1 file changed, 163 insertions(+), 294 deletions(-) diff --git a/docPrepaAppli-IHM/DiagrammeClasse.mdj b/docPrepaAppli-IHM/DiagrammeClasse.mdj index ec66296..b697e16 100644 --- a/docPrepaAppli-IHM/DiagrammeClasse.mdj +++ b/docPrepaAppli-IHM/DiagrammeClasse.mdj @@ -48,8 +48,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": -560, - "top": 720, + "left": -544, + "top": 688, "height": 13 }, { @@ -59,8 +59,8 @@ "$ref": "AAAAAAGHXDUzV0wheqw=" }, "font": "Arial;13;1", - "left": 61, - "top": 719, + "left": 69, + "top": 703, "width": 246, "height": 13, "text": "Personne" @@ -73,8 +73,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": -560, - "top": 720, + "left": -544, + "top": 688, "width": 73.67724609375, "height": 13, "text": "(from Model)" @@ -87,15 +87,15 @@ }, "visible": false, "font": "Arial;13;0", - "left": -560, - "top": 720, + "left": -544, + "top": 688, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", - "left": 56, - "top": 712, + "left": 64, + "top": 696, "width": 256, "height": 25, "stereotypeLabel": { @@ -131,8 +131,8 @@ "$ref": "AAAAAAGHXDWExExIi9I=" }, "font": "Arial;13;0", - "left": 61, - "top": 742, + "left": 69, + "top": 726, "width": 246, "height": 13, "text": "-id: int", @@ -148,19 +148,53 @@ "$ref": "AAAAAAGHXDWnYUxUAC4=" }, "font": "Arial;13;0", - "left": 61, - "top": 757, + "left": 69, + "top": 741, "width": 246, "height": 13, "text": "-MdP: string", "horizontalAlignment": 0 + }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGHvK0bPRm75zc=", + "_parent": { + "$ref": "AAAAAAGHXDUzWEwmVJA=" + }, + "model": { + "$ref": "AAAAAAGHvK0bMxm4OMc=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 756, + "width": 246, + "height": 13, + "text": "-Nom: string", + "horizontalAlignment": 0 + }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGHvK1YYholSeM=", + "_parent": { + "$ref": "AAAAAAGHXDUzWEwmVJA=" + }, + "model": { + "$ref": "AAAAAAGHvK1YWRoiUbY=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 771, + "width": 246, + "height": 13, + "text": "-Prenom: string", + "horizontalAlignment": 0 } ], "font": "Arial;13;0", - "left": 56, - "top": 737, + "left": 64, + "top": 721, "width": 256, - "height": 38 + "height": 68 }, { "_type": "UMLOperationCompartmentView", @@ -183,8 +217,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": -219, - "top": 1140, + "left": -203, + "top": 1108, "width": 246, "height": 13, "text": "+Operation1()", @@ -192,8 +226,8 @@ } ], "font": "Arial;13;0", - "left": 56, - "top": 775, + "left": 64, + "top": 789, "width": 256, "height": 10 }, @@ -208,8 +242,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": -280, - "top": 360, + "left": -272, + "top": 344, "width": 10, "height": 10 }, @@ -224,18 +258,18 @@ }, "visible": false, "font": "Arial;13;0", - "left": -280, - "top": 360, + "left": -272, + "top": 344, "width": 10, "height": 10 } ], "font": "Arial;13;0", "containerChangeable": true, - "left": 56, - "top": 712, + "left": 64, + "top": 696, "width": 256, - "height": 73, + "height": 103, "nameCompartment": { "$ref": "AAAAAAGHXDUzV0wheqw=" }, @@ -476,7 +510,7 @@ "visible": false, "font": "Arial;13;0", "left": 1008, - "top": 256, + "top": 240, "height": 13 }, { @@ -487,7 +521,7 @@ }, "font": "Arial;13;1", "left": 965, - "top": 639, + "top": 631, "width": 254, "height": 13, "text": "Compte" @@ -501,7 +535,7 @@ "visible": false, "font": "Arial;13;0", "left": 1008, - "top": 256, + "top": 240, "width": 73.67724609375, "height": 13, "text": "(from Model)" @@ -515,14 +549,14 @@ "visible": false, "font": "Arial;13;0", "left": 1008, - "top": 256, + "top": 240, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", "left": 960, - "top": 632, + "top": 624, "width": 264, "height": 25, "stereotypeLabel": { @@ -559,7 +593,7 @@ }, "font": "Arial;13;0", "left": 965, - "top": 662, + "top": 654, "width": 254, "height": 13, "text": "-solde: int", @@ -576,7 +610,7 @@ }, "font": "Arial;13;0", "left": 965, - "top": 677, + "top": 669, "width": 254, "height": 13, "text": "-nom: string", @@ -593,7 +627,7 @@ }, "font": "Arial;13;0", "left": 965, - "top": 692, + "top": 684, "width": 254, "height": 13, "text": "-IBAN: int", @@ -610,7 +644,7 @@ }, "font": "Arial;13;0", "left": 965, - "top": 707, + "top": 699, "width": 254, "height": 13, "text": "-listTrans: list", @@ -619,7 +653,7 @@ ], "font": "Arial;13;0", "left": 960, - "top": 657, + "top": 649, "width": 264, "height": 68 }, @@ -634,7 +668,7 @@ }, "font": "Arial;13;0", "left": 960, - "top": 725, + "top": 717, "width": 264, "height": 10 }, @@ -650,7 +684,7 @@ "visible": false, "font": "Arial;13;0", "left": 504, - "top": 128, + "top": 120, "width": 10, "height": 10 }, @@ -666,7 +700,7 @@ "visible": false, "font": "Arial;13;0", "left": 504, - "top": 128, + "top": 120, "width": 10, "height": 10 } @@ -674,7 +708,7 @@ "font": "Arial;13;0", "containerChangeable": true, "left": 960, - "top": 632, + "top": 624, "width": 264, "height": 103, "nameCompartment": { @@ -693,190 +727,6 @@ "$ref": "AAAAAAGHXDhYX0ynHVE=" } }, - { - "_type": "UMLAssociationView", - "_id": "AAAAAAGHXDpTFkzuZno=", - "_parent": { - "$ref": "AAAAAAFF+qBtyKM79qY=" - }, - "model": { - "$ref": "AAAAAAGHXDpTFUzqXaw=" - }, - "subViews": [ - { - "_type": "EdgeLabelView", - "_id": "AAAAAAGHXDpTFkzvaVA=", - "_parent": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "model": { - "$ref": "AAAAAAGHXDpTFUzqXaw=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 423, - "top": 538, - "height": 13, - "alpha": 1.5707963267948966, - "distance": 15, - "hostEdge": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "edgePosition": 1 - }, - { - "_type": "EdgeLabelView", - "_id": "AAAAAAGHXDpTFkzwDZM=", - "_parent": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "model": { - "$ref": "AAAAAAGHXDpTFUzqXaw=" - }, - "visible": null, - "font": "Arial;13;0", - "left": 423, - "top": 523, - "height": 13, - "alpha": 1.5707963267948966, - "distance": 30, - "hostEdge": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "edgePosition": 1 - }, - { - "_type": "EdgeLabelView", - "_id": "AAAAAAGHXDpTFkzxR8w=", - "_parent": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "model": { - "$ref": "AAAAAAGHXDpTFUzqXaw=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 423, - "top": 568, - "height": 13, - "alpha": -1.5707963267948966, - "distance": 15, - "hostEdge": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "edgePosition": 1 - }, - { - "_type": "EdgeLabelView", - "_id": "AAAAAAGHXDpTFkzyDMA=", - "_parent": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "model": { - "$ref": "AAAAAAGHXDpTFkzrfgk=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 417, - "top": 538, - "height": 13, - "alpha": 0.5235987755982988, - "distance": 30, - "hostEdge": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "edgePosition": 2 - }, - { - "_type": "EdgeLabelView", - "_id": "AAAAAAGHXDpTFkzzkoE=", - "_parent": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "model": { - "$ref": "AAAAAAGHXDpTFkzrfgk=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 419, - "top": 525, - "height": 13, - "alpha": 0.7853981633974483, - "distance": 40, - "hostEdge": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "edgePosition": 2 - }, - { - "_type": "EdgeLabelView", - "_id": "AAAAAAGHXDpTF0z0kqA=", - "_parent": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "model": { - "$ref": "AAAAAAGHXDpTFkzrfgk=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 413, - "top": 566, - "height": 13, - "alpha": -0.5235987755982988, - "distance": 25, - "hostEdge": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "edgePosition": 2 - }, - { - "_type": "UMLQualifierCompartmentView", - "_id": "AAAAAAGHXDpTF0z4qB0=", - "_parent": { - "$ref": "AAAAAAGHXDpTFkzuZno=" - }, - "model": { - "$ref": "AAAAAAGHXDpTFkzrfgk=" - }, - "visible": false, - "font": "Arial;13;0", - "width": 10, - "height": 10 - } - ], - "font": "Arial;13;0", - "head": { - "$ref": "AAAAAAGHXDhYXkyeoP0=" - }, - "tail": { - "$ref": "AAAAAAGHXDdux0xpPgo=" - }, - "lineStyle": 1, - "points": "392:560;455:559", - "showVisibility": true, - "nameLabel": { - "$ref": "AAAAAAGHXDpTFkzvaVA=" - }, - "stereotypeLabel": { - "$ref": "AAAAAAGHXDpTFkzwDZM=" - }, - "propertyLabel": { - "$ref": "AAAAAAGHXDpTFkzxR8w=" - }, - "showEndOrder": "hide", - "tailRoleNameLabel": { - "$ref": "AAAAAAGHXDpTFkzyDMA=" - }, - "tailPropertyLabel": { - "$ref": "AAAAAAGHXDpTFkzzkoE=" - }, - "tailMultiplicityLabel": { - "$ref": "AAAAAAGHXDpTF0z0kqA=" - }, - "tailQualifiersCompartment": { - "$ref": "AAAAAAGHXDpTF0z4qB0=" - } - }, { "_type": "UMLAssociationView", "_id": "AAAAAAGHXDsS7k5hHT8=", @@ -899,7 +749,7 @@ "visible": false, "font": "Arial;13;0", "left": 847, - "top": 658, + "top": 654, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -920,7 +770,7 @@ "visible": null, "font": "Arial;13;0", "left": 847, - "top": 643, + "top": 639, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -940,8 +790,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 846, - "top": 687, + "left": 847, + "top": 684, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -961,8 +811,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 762, - "top": 657, + "left": 761, + "top": 654, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -983,7 +833,7 @@ "visible": false, "font": "Arial;13;0", "left": 764, - "top": 644, + "top": 641, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -1004,7 +854,7 @@ "visible": false, "font": "Arial;13;0", "left": 757, - "top": 684, + "top": 682, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -1024,8 +874,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 933, - "top": 659, + "left": 932, + "top": 654, "height": 13, "alpha": -0.5235987755982988, "distance": 30, @@ -1044,8 +894,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 931, - "top": 646, + "left": 930, + "top": 640, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -1063,9 +913,9 @@ "$ref": "AAAAAAGHXDsS7U5f4ww=" }, "font": "Arial;13;0", - "left": 944, - "top": 665, - "width": 5.05908203125, + "left": 943, + "top": 659, + "width": 6.5, "height": 13, "alpha": -0.6214167091158393, "distance": 15.811388300841896, @@ -1111,7 +961,7 @@ "$ref": "AAAAAAGHXDdux0xpPgo=" }, "lineStyle": 1, - "points": "736:678;959:681", + "points": "736:676;959:675", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXDsS7k5irKQ=" @@ -1176,6 +1026,7 @@ }, "visible": false, "font": "Arial;13;0", + "top": -16, "height": 13 }, { @@ -1186,7 +1037,7 @@ }, "font": "Arial;13;1", "left": 1325, - "top": 639, + "top": 631, "width": 318, "height": 13, "text": "Transaction" @@ -1199,6 +1050,7 @@ }, "visible": false, "font": "Arial;13;0", + "top": -16, "width": 73.67724609375, "height": 13, "text": "(from Model)" @@ -1211,13 +1063,14 @@ }, "visible": false, "font": "Arial;13;0", + "top": -16, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", "left": 1320, - "top": 632, + "top": 624, "width": 328, "height": 25, "stereotypeLabel": { @@ -1254,7 +1107,7 @@ }, "font": "Arial;13;0", "left": 1325, - "top": 662, + "top": 654, "width": 318, "height": 13, "text": "-Type", @@ -1271,7 +1124,7 @@ }, "font": "Arial;13;0", "left": 1325, - "top": 677, + "top": 669, "width": 318, "height": 13, "text": "-somme: int", @@ -1288,7 +1141,7 @@ }, "font": "Arial;13;0", "left": 1325, - "top": 692, + "top": 684, "width": 318, "height": 13, "text": "-CompteImpliqué: Compte", @@ -1305,7 +1158,7 @@ }, "font": "Arial;13;0", "left": 1325, - "top": 707, + "top": 699, "width": 318, "height": 13, "text": "-Catégorie: string", @@ -1314,7 +1167,7 @@ ], "font": "Arial;13;0", "left": 1320, - "top": 657, + "top": 649, "width": 328, "height": 68 }, @@ -1329,7 +1182,7 @@ }, "font": "Arial;13;0", "left": 1320, - "top": 725, + "top": 717, "width": 328, "height": 10 }, @@ -1344,6 +1197,7 @@ }, "visible": false, "font": "Arial;13;0", + "top": -8, "width": 10, "height": 10 }, @@ -1358,6 +1212,7 @@ }, "visible": false, "font": "Arial;13;0", + "top": -8, "width": 10, "height": 10 } @@ -1365,7 +1220,7 @@ "font": "Arial;13;0", "containerChangeable": true, "left": 1320, - "top": 632, + "top": 624, "width": 328, "height": 103, "nameCompartment": { @@ -1406,7 +1261,7 @@ "visible": false, "font": "Arial;13;0", "left": 1271, - "top": 662, + "top": 654, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -1427,7 +1282,7 @@ "visible": null, "font": "Arial;13;0", "left": 1271, - "top": 647, + "top": 639, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -1448,7 +1303,7 @@ "visible": false, "font": "Arial;13;0", "left": 1271, - "top": 692, + "top": 684, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -1469,7 +1324,7 @@ "visible": false, "font": "Arial;13;0", "left": 1249, - "top": 662, + "top": 654, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -1490,7 +1345,7 @@ "visible": false, "font": "Arial;13;0", "left": 1252, - "top": 648, + "top": 640, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -1511,7 +1366,7 @@ "visible": false, "font": "Arial;13;0", "left": 1245, - "top": 689, + "top": 681, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -1532,7 +1387,7 @@ "visible": false, "font": "Arial;13;0", "left": 1293, - "top": 662, + "top": 654, "height": 13, "alpha": -0.5235987755982988, "distance": 30, @@ -1552,7 +1407,7 @@ "visible": false, "font": "Arial;13;0", "left": 1290, - "top": 648, + "top": 640, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -1570,9 +1425,9 @@ "$ref": "AAAAAAGHXD2FNGYDzpg=" }, "font": "Arial;13;0", - "left": 1304, - "top": 671, - "width": 5.05908203125, + "left": 1303, + "top": 663, + "width": 6.5, "height": 13, "alpha": -0.36717409155035075, "distance": 13.92838827718412, @@ -1618,7 +1473,7 @@ "$ref": "AAAAAAGHXDhYXkyeoP0=" }, "lineStyle": 1, - "points": "1224:683;1319:683", + "points": "1224:675;1319:675", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD2FNWYGMHc=" @@ -1677,7 +1532,7 @@ "visible": false, "font": "Arial;13;0", "left": 1270, - "top": 692, + "top": 684, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -1698,7 +1553,7 @@ "visible": null, "font": "Arial;13;0", "left": 1270, - "top": 707, + "top": 699, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -1719,7 +1574,7 @@ "visible": false, "font": "Arial;13;0", "left": 1271, - "top": 662, + "top": 654, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -1740,7 +1595,7 @@ "visible": false, "font": "Arial;13;0", "left": 1293, - "top": 691, + "top": 683, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -1761,7 +1616,7 @@ "visible": false, "font": "Arial;13;0", "left": 1290, - "top": 705, + "top": 697, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -1782,7 +1637,7 @@ "visible": false, "font": "Arial;13;0", "left": 1297, - "top": 664, + "top": 656, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -1803,7 +1658,7 @@ "visible": false, "font": "Arial;13;0", "left": 1249, - "top": 691, + "top": 683, "height": 13, "alpha": -0.5235987755982988, "distance": 30, @@ -1823,7 +1678,7 @@ "visible": false, "font": "Arial;13;0", "left": 1252, - "top": 705, + "top": 697, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -1842,7 +1697,7 @@ }, "font": "Arial;13;0", "left": 1235, - "top": 664, + "top": 656, "width": 21.68359375, "height": 13, "alpha": 0.5235987755982988, @@ -1889,7 +1744,7 @@ "$ref": "AAAAAAGHXDwy9F6JYgM=" }, "lineStyle": 1, - "points": "1319:683;1224:683", + "points": "1319:675;1224:675", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD4Snmlby3g=" @@ -2008,7 +1863,7 @@ "$ref": "AAAAAAGHXDdux0xpPgo=" }, "lineStyle": 1, - "points": "455:679;392:680;392:744;312:746", + "points": "455:679;392:680;392:744;320:745", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD74foApcWk=" @@ -2629,7 +2484,7 @@ "$ref": "AAAAAAGHXD83YYvT/WQ=" }, "lineStyle": 1, - "points": "447:864;392:864;392:744;312:746", + "points": "447:864;392:864;392:744;320:745", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD+SV5NCjA8=" @@ -2723,7 +2578,7 @@ "$ref": "AAAAAAGHXD9k0Y7Wyng=" }, "lineStyle": 1, - "points": "447:1016;392:1016;392:744;312:746", + "points": "447:1016;392:1016;392:744;320:745", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD+kpZTxP+g=" @@ -2787,6 +2642,36 @@ "$ref": "AAAAAAGHXDUzVkweZ4U=" }, "name": "MdP", + "ownedElements": [ + { + "_type": "UMLConstraint", + "_id": "AAAAAAGHvKze5Rk3ZbI=", + "_parent": { + "$ref": "AAAAAAGHXDWnYUxUAC4=" + }, + "name": "Constraint1" + } + ], + "visibility": "private", + "type": "string" + }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAGHvK0bMxm4OMc=", + "_parent": { + "$ref": "AAAAAAGHXDUzVkweZ4U=" + }, + "name": "Nom", + "visibility": "private", + "type": "string" + }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAGHvK1YWRoiUbY=", + "_parent": { + "$ref": "AAAAAAGHXDUzVkweZ4U=" + }, + "name": "Prenom", "visibility": "private", "type": "string" } @@ -2810,23 +2695,6 @@ }, "name": "Client", "ownedElements": [ - { - "_type": "UMLAssociation", - "_id": "AAAAAAGHXDpTFUzqXaw=", - "_parent": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "end1": { - "_type": "UMLAssociationEnd", - "_id": "AAAAAAGHXDpTFkzrfgk=", - "_parent": { - "$ref": "AAAAAAGHXDpTFUzqXaw=" - }, - "reference": { - "$ref": "AAAAAAGHXDdux0xn1po=" - } - } - }, { "_type": "UMLAssociation", "_id": "AAAAAAGHXDsS7U5d3WY=", @@ -3020,7 +2888,8 @@ "$ref": "AAAAAAGHXDwy9F6Hfd8=" }, "name": "Type", - "visibility": "private" + "visibility": "private", + "type": "" }, { "_type": "UMLAttribute", From dc972d81a5d02e6ae03e97aec0523d4b684d801a Mon Sep 17 00:00:00 2001 From: "titouan.louvet" Date: Wed, 26 Apr 2023 11:55:16 +0200 Subject: [PATCH 2/7] Ajout classe Personne --- src/Banquale/Banquale/Model/Personne.cs | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/Banquale/Banquale/Model/Personne.cs diff --git a/src/Banquale/Banquale/Model/Personne.cs b/src/Banquale/Banquale/Model/Personne.cs new file mode 100644 index 0000000..3a51e63 --- /dev/null +++ b/src/Banquale/Banquale/Model/Personne.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Banquale.Model +{ + class Personne + { + public string Nom { get; private set; } + + public string Prenom { get; private set; } + + public int Id { get; private set; } + + public string Mdp { get; private set; } + + public Personne(string nom, string prenom, string mdp) + { + Nom = nom; + Prenom = prenom; + Id = 0; + Mdp = mdp; + } + } +} From bf76071c6e77010a2090b7ea0028a0e196e2d947 Mon Sep 17 00:00:00 2001 From: "titouan.louvet" Date: Fri, 28 Apr 2023 14:42:09 +0200 Subject: [PATCH 3/7] Ajout des classes client, compte et transactions --- docPrepaAppli-IHM/DiagrammeClasse.mdj | 510 +++++++++++--------- src/Banquale/Banquale/Model/Client.cs | 22 + src/Banquale/Banquale/Model/Compte.cs | 20 + src/Banquale/Banquale/Model/Transactions.cs | 26 + 4 files changed, 363 insertions(+), 215 deletions(-) create mode 100644 src/Banquale/Banquale/Model/Client.cs create mode 100644 src/Banquale/Banquale/Model/Compte.cs create mode 100644 src/Banquale/Banquale/Model/Transactions.cs diff --git a/docPrepaAppli-IHM/DiagrammeClasse.mdj b/docPrepaAppli-IHM/DiagrammeClasse.mdj index b697e16..f75ed31 100644 --- a/docPrepaAppli-IHM/DiagrammeClasse.mdj +++ b/docPrepaAppli-IHM/DiagrammeClasse.mdj @@ -48,7 +48,7 @@ }, "visible": false, "font": "Arial;13;0", - "left": -544, + "left": -560, "top": 688, "height": 13 }, @@ -59,7 +59,7 @@ "$ref": "AAAAAAGHXDUzV0wheqw=" }, "font": "Arial;13;1", - "left": 69, + "left": 61, "top": 703, "width": 246, "height": 13, @@ -73,7 +73,7 @@ }, "visible": false, "font": "Arial;13;0", - "left": -544, + "left": -560, "top": 688, "width": 73.67724609375, "height": 13, @@ -87,14 +87,14 @@ }, "visible": false, "font": "Arial;13;0", - "left": -544, + "left": -560, "top": 688, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", - "left": 64, + "left": 56, "top": 696, "width": 256, "height": 25, @@ -131,7 +131,7 @@ "$ref": "AAAAAAGHXDWExExIi9I=" }, "font": "Arial;13;0", - "left": 69, + "left": 61, "top": 726, "width": 246, "height": 13, @@ -148,7 +148,7 @@ "$ref": "AAAAAAGHXDWnYUxUAC4=" }, "font": "Arial;13;0", - "left": 69, + "left": 61, "top": 741, "width": 246, "height": 13, @@ -165,7 +165,7 @@ "$ref": "AAAAAAGHvK0bMxm4OMc=" }, "font": "Arial;13;0", - "left": 69, + "left": 61, "top": 756, "width": 246, "height": 13, @@ -182,7 +182,7 @@ "$ref": "AAAAAAGHvK1YWRoiUbY=" }, "font": "Arial;13;0", - "left": 69, + "left": 61, "top": 771, "width": 246, "height": 13, @@ -191,7 +191,7 @@ } ], "font": "Arial;13;0", - "left": 64, + "left": 56, "top": 721, "width": 256, "height": 68 @@ -217,7 +217,7 @@ }, "visible": false, "font": "Arial;13;0", - "left": -203, + "left": -219, "top": 1108, "width": 246, "height": 13, @@ -226,7 +226,7 @@ } ], "font": "Arial;13;0", - "left": 64, + "left": 56, "top": 789, "width": 256, "height": 10 @@ -242,7 +242,7 @@ }, "visible": false, "font": "Arial;13;0", - "left": -272, + "left": -280, "top": 344, "width": 10, "height": 10 @@ -258,7 +258,7 @@ }, "visible": false, "font": "Arial;13;0", - "left": -272, + "left": -280, "top": 344, "width": 10, "height": 10 @@ -266,7 +266,7 @@ ], "font": "Arial;13;0", "containerChangeable": true, - "left": 64, + "left": 56, "top": 696, "width": 256, "height": 103, @@ -647,7 +647,7 @@ "top": 699, "width": 254, "height": 13, - "text": "-listTrans: list", + "text": "-listTransactions: list", "horizontalAlignment": 0 } ], @@ -1863,7 +1863,7 @@ "$ref": "AAAAAAGHXDdux0xpPgo=" }, "lineStyle": 1, - "points": "455:679;392:680;392:744;320:745", + "points": "455:679;392:680;392:744;312:745", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD74foApcWk=" @@ -1875,201 +1875,6 @@ "$ref": "AAAAAAGHXD74foArrAg=" } }, - { - "_type": "UMLClassView", - "_id": "AAAAAAGHXD8NuYNeoio=", - "_parent": { - "$ref": "AAAAAAFF+qBtyKM79qY=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "subViews": [ - { - "_type": "UMLNameCompartmentView", - "_id": "AAAAAAGHXD8NuYNfZkA=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "subViews": [ - { - "_type": "LabelView", - "_id": "AAAAAAGHXD8NuYNg9jE=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 210, - "top": -140, - "height": 13 - }, - { - "_type": "LabelView", - "_id": "AAAAAAGHXD8NuYNhlWA=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "font": "Arial;13;1", - "left": 191, - "top": 283, - "width": 270, - "height": 13, - "text": "Client" - }, - { - "_type": "LabelView", - "_id": "AAAAAAGHXD8NuYNiYSc=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 210, - "top": -140, - "width": 73.67724609375, - "height": 13, - "text": "(from Model)" - }, - { - "_type": "LabelView", - "_id": "AAAAAAGHXD8NuYNjfHQ=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 210, - "top": -140, - "height": 13, - "horizontalAlignment": 1 - } - ], - "font": "Arial;13;0", - "left": 186, - "top": 276, - "width": 280, - "height": 25, - "stereotypeLabel": { - "$ref": "AAAAAAGHXD8NuYNg9jE=" - }, - "nameLabel": { - "$ref": "AAAAAAGHXD8NuYNhlWA=" - }, - "namespaceLabel": { - "$ref": "AAAAAAGHXD8NuYNiYSc=" - }, - "propertyLabel": { - "$ref": "AAAAAAGHXD8NuYNjfHQ=" - } - }, - { - "_type": "UMLAttributeCompartmentView", - "_id": "AAAAAAGHXD8NuYNkk+A=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "subViews": [ - { - "_type": "UMLAttributeView", - "_id": "AAAAAAGHXD8NuYNlfHE=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNkk+A=" - }, - "model": { - "$ref": "AAAAAAGHXDeNp0yR0nA=" - }, - "font": "Arial;13;0", - "left": 191, - "top": 306, - "width": 270, - "height": 13, - "text": "-comptes: list", - "horizontalAlignment": 0 - } - ], - "font": "Arial;13;0", - "left": 186, - "top": 301, - "width": 280, - "height": 23 - }, - { - "_type": "UMLOperationCompartmentView", - "_id": "AAAAAAGHXD8NuYNmNNo=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "font": "Arial;13;0", - "left": 186, - "top": 324, - "width": 280, - "height": 10 - }, - { - "_type": "UMLReceptionCompartmentView", - "_id": "AAAAAAGHXD8NuYNnKis=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "visible": false, - "font": "Arial;13;0", - "left": -38, - "top": -260, - "width": 10, - "height": 10 - }, - { - "_type": "UMLTemplateParameterCompartmentView", - "_id": "AAAAAAGHXD8NuYNoRZY=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "visible": false, - "font": "Arial;13;0", - "left": -38, - "top": -260, - "width": 10, - "height": 10 - } - ], - "font": "Arial;13;0", - "containerChangeable": true, - "left": 186, - "top": 276, - "width": 280, - "height": 58, - "nameCompartment": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "attributeCompartment": { - "$ref": "AAAAAAGHXD8NuYNkk+A=" - }, - "operationCompartment": { - "$ref": "AAAAAAGHXD8NuYNmNNo=" - }, - "receptionCompartment": { - "$ref": "AAAAAAGHXD8NuYNnKis=" - }, - "templateParameterCompartment": { - "$ref": "AAAAAAGHXD8NuYNoRZY=" - } - }, { "_type": "UMLClassView", "_id": "AAAAAAGHXD83YYvT/WQ=", @@ -2484,7 +2289,7 @@ "$ref": "AAAAAAGHXD83YYvT/WQ=" }, "lineStyle": 1, - "points": "447:864;392:864;392:744;320:745", + "points": "447:864;392:864;392:744;312:745", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD+SV5NCjA8=" @@ -2578,7 +2383,7 @@ "$ref": "AAAAAAGHXD9k0Y7Wyng=" }, "lineStyle": 1, - "points": "447:1016;392:1016;392:744;320:745", + "points": "447:1016;392:1016;392:744;312:745", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD+kpZTxP+g=" @@ -2589,6 +2394,253 @@ "propertyLabel": { "$ref": "AAAAAAGHXD+kpZTz/A8=" } + }, + { + "_type": "UMLEnumerationView", + "_id": "AAAAAAGHx7BqQr5zw/s=", + "_parent": { + "$ref": "AAAAAAFF+qBtyKM79qY=" + }, + "model": { + "$ref": "AAAAAAGHx7BqQr5xRk4=" + }, + "subViews": [ + { + "_type": "UMLNameCompartmentView", + "_id": "AAAAAAGHx7BqQr50AZc=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr5zw/s=" + }, + "model": { + "$ref": "AAAAAAGHx7BqQr5xRk4=" + }, + "subViews": [ + { + "_type": "LabelView", + "_id": "AAAAAAGHx7BqQr51yM8=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr50AZc=" + }, + "font": "Arial;13;0", + "left": 1301, + "top": 429, + "width": 145.68505859375, + "height": 13, + "text": "«enumeration»" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGHx7BqQr525M4=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr50AZc=" + }, + "font": "Arial;13;1", + "left": 1301, + "top": 444, + "width": 145.68505859375, + "height": 13, + "text": "EnumTypeTransactions" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGHx7BqQr53cTI=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr50AZc=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 704, + "top": -800, + "width": 73.67724609375, + "height": 13, + "text": "(from Model)" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGHx7BqQ754dJQ=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr50AZc=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 704, + "top": -800, + "height": 13, + "horizontalAlignment": 1 + } + ], + "font": "Arial;13;0", + "left": 1296, + "top": 424, + "width": 155.68505859375, + "height": 38, + "stereotypeLabel": { + "$ref": "AAAAAAGHx7BqQr51yM8=" + }, + "nameLabel": { + "$ref": "AAAAAAGHx7BqQr525M4=" + }, + "namespaceLabel": { + "$ref": "AAAAAAGHx7BqQr53cTI=" + }, + "propertyLabel": { + "$ref": "AAAAAAGHx7BqQ754dJQ=" + } + }, + { + "_type": "UMLAttributeCompartmentView", + "_id": "AAAAAAGHx7BqQ755Fi4=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr5zw/s=" + }, + "model": { + "$ref": "AAAAAAGHx7BqQr5xRk4=" + }, + "subViews": [ + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGHx7Fyf8M9zSA=", + "_parent": { + "$ref": "AAAAAAGHx7BqQ755Fi4=" + }, + "model": { + "$ref": "AAAAAAGHx7Fyd8Mxd/M=" + }, + "font": "Arial;13;0", + "left": 357, + "top": -395, + "width": 63.2353515625, + "height": 13, + "text": "+debit: int", + "horizontalAlignment": 0 + }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGHx7Gts8PdORo=", + "_parent": { + "$ref": "AAAAAAGHx7BqQ755Fi4=" + }, + "model": { + "$ref": "AAAAAAGHx7GtqMPRgrQ=" + }, + "font": "Arial;13;0", + "left": 357, + "top": -380, + "width": 63.2353515625, + "height": 13, + "text": "+credit: int", + "horizontalAlignment": 0 + } + ], + "visible": false, + "font": "Arial;13;0", + "left": 352, + "top": -400, + "width": 73.2353515625, + "height": 38 + }, + { + "_type": "UMLOperationCompartmentView", + "_id": "AAAAAAGHx7BqQ756/vE=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr5zw/s=" + }, + "model": { + "$ref": "AAAAAAGHx7BqQr5xRk4=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 352, + "top": -400, + "width": 10, + "height": 10 + }, + { + "_type": "UMLReceptionCompartmentView", + "_id": "AAAAAAGHx7BqQ757QAQ=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr5zw/s=" + }, + "model": { + "$ref": "AAAAAAGHx7BqQr5xRk4=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 352, + "top": -400, + "width": 10, + "height": 10 + }, + { + "_type": "UMLTemplateParameterCompartmentView", + "_id": "AAAAAAGHx7BqQ758/JU=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr5zw/s=" + }, + "model": { + "$ref": "AAAAAAGHx7BqQr5xRk4=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 352, + "top": -400, + "width": 10, + "height": 10 + }, + { + "_type": "UMLEnumerationLiteralCompartmentView", + "_id": "AAAAAAGHx7BqQ759GwU=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr5zw/s=" + }, + "model": { + "$ref": "AAAAAAGHx7BqQr5xRk4=" + }, + "font": "Arial;13;0", + "left": 1296, + "top": 462, + "width": 155.68505859375, + "height": 10 + } + ], + "font": "Arial;13;0", + "containerChangeable": true, + "left": 1296, + "top": 424, + "width": 155.68505859375, + "height": 161, + "nameCompartment": { + "$ref": "AAAAAAGHx7BqQr50AZc=" + }, + "suppressAttributes": true, + "suppressOperations": true, + "attributeCompartment": { + "$ref": "AAAAAAGHx7BqQ755Fi4=" + }, + "operationCompartment": { + "$ref": "AAAAAAGHx7BqQ756/vE=" + }, + "receptionCompartment": { + "$ref": "AAAAAAGHx7BqQ757QAQ=" + }, + "templateParameterCompartment": { + "$ref": "AAAAAAGHx7BqQ758/JU=" + }, + "enumerationLiteralCompartment": { + "$ref": "AAAAAAGHx7BqQ759GwU=" + } + }, + { + "_type": "UMLTextView", + "_id": "AAAAAAGHx7jZ3vY6/jc=", + "_parent": { + "$ref": "AAAAAAFF+qBtyKM79qY=" + }, + "font": "Arial;13;0", + "left": 1328, + "top": 480, + "width": 60, + "height": 15 } ] }, @@ -2836,7 +2888,7 @@ "_parent": { "$ref": "AAAAAAGHXDhYXkyc+PE=" }, - "name": "listTrans", + "name": "listTransactions", "visibility": "private", "type": "list" } @@ -2970,6 +3022,34 @@ } } ] + }, + { + "_type": "UMLEnumeration", + "_id": "AAAAAAGHx7BqQr5xRk4=", + "_parent": { + "$ref": "AAAAAAFF+qBWK6M3Z8Y=" + }, + "name": "EnumTypeTransactions", + "attributes": [ + { + "_type": "UMLAttribute", + "_id": "AAAAAAGHx7Fyd8Mxd/M=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr5xRk4=" + }, + "name": "debit", + "type": "int" + }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAGHx7GtqMPRgrQ=", + "_parent": { + "$ref": "AAAAAAGHx7BqQr5xRk4=" + }, + "name": "credit", + "type": "int" + } + ] } ] } diff --git a/src/Banquale/Banquale/Model/Client.cs b/src/Banquale/Banquale/Model/Client.cs new file mode 100644 index 0000000..66f2a0d --- /dev/null +++ b/src/Banquale/Banquale/Model/Client.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + + +namespace Banquale.Model +{ + + class Client: Personne + { + public Client(string nom, string prenom, string mdp) : base(nom, prenom, mdp) + { + + } + + public List ListeComptes{ get; private set; } + + + } +} diff --git a/src/Banquale/Banquale/Model/Compte.cs b/src/Banquale/Banquale/Model/Compte.cs new file mode 100644 index 0000000..e041cad --- /dev/null +++ b/src/Banquale/Banquale/Model/Compte.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + + +namespace Banquale.Model +{ + class Compte + { + public int Solde { get; set; } + + public string Nom { get; set;} + + public string IBAN { get; set; } + + public List CompteList { get; set; } + } +} diff --git a/src/Banquale/Banquale/Model/Transactions.cs b/src/Banquale/Banquale/Model/Transactions.cs new file mode 100644 index 0000000..d500d37 --- /dev/null +++ b/src/Banquale/Banquale/Model/Transactions.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Banquale.Model +{ + class Transactions + { + public int Type { get; private set; } + + public int Somme { get; private set; } + + public Compte CompteImplique { get; private set; } + + public string Categorie { get; private set; } + + private Transactions( int type, int somme, Compte compteImplique, string categorie) { + Type = type; + Somme = somme; + CompteImplique = compteImplique; + Categorie = categorie; + } + } +} From fa28871f074661e24317637f7fd1b9aaca08bd20 Mon Sep 17 00:00:00 2001 From: anperederi Date: Fri, 28 Apr 2023 17:28:42 +0200 Subject: [PATCH 4/7] ajout du manager et essaie de faire un bouton pour ajouter un nouveau client dans la liste de manager de NewPage1 --- src/Banquale/Banquale/App.xaml.cs | 6 +++++- src/Banquale/Banquale/AppShell.xaml | 2 +- src/Banquale/Banquale/Model/Client.cs | 2 +- src/Banquale/Banquale/Model/Compte.cs | 2 +- src/Banquale/Banquale/Model/Manager.cs | 20 ++++++++++++++++++ src/Banquale/Banquale/Model/Personne.cs | 2 +- src/Banquale/Banquale/Model/Transactions.cs | 2 +- .../Banquale/Views/BalancePage.xaml.cs | 4 +++- src/Banquale/Banquale/Views/NewPage1.xaml | 16 ++++++++++++++ src/Banquale/Banquale/Views/NewPage1.xaml.cs | 21 +++++++++++++++++++ 10 files changed, 70 insertions(+), 7 deletions(-) create mode 100644 src/Banquale/Banquale/Model/Manager.cs create mode 100644 src/Banquale/Banquale/Views/NewPage1.xaml create mode 100644 src/Banquale/Banquale/Views/NewPage1.xaml.cs diff --git a/src/Banquale/Banquale/App.xaml.cs b/src/Banquale/Banquale/App.xaml.cs index 4531e5c..84b3fa7 100644 --- a/src/Banquale/Banquale/App.xaml.cs +++ b/src/Banquale/Banquale/App.xaml.cs @@ -1,7 +1,11 @@ -namespace Banquale; +using Banquale.Model; +namespace Banquale; public partial class App : Application { + + public Manager MyManager { get; private set; } = new Manager(); + public App() { InitializeComponent(); diff --git a/src/Banquale/Banquale/AppShell.xaml b/src/Banquale/Banquale/AppShell.xaml index 548530e..e279a8d 100644 --- a/src/Banquale/Banquale/AppShell.xaml +++ b/src/Banquale/Banquale/AppShell.xaml @@ -16,7 +16,7 @@ diff --git a/src/Banquale/Banquale/Model/Client.cs b/src/Banquale/Banquale/Model/Client.cs index 66f2a0d..2193f28 100644 --- a/src/Banquale/Banquale/Model/Client.cs +++ b/src/Banquale/Banquale/Model/Client.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace Banquale.Model { - class Client: Personne + public class Client: Personne { public Client(string nom, string prenom, string mdp) : base(nom, prenom, mdp) { diff --git a/src/Banquale/Banquale/Model/Compte.cs b/src/Banquale/Banquale/Model/Compte.cs index e041cad..0df7fce 100644 --- a/src/Banquale/Banquale/Model/Compte.cs +++ b/src/Banquale/Banquale/Model/Compte.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace Banquale.Model { - class Compte + public class Compte { public int Solde { get; set; } diff --git a/src/Banquale/Banquale/Model/Manager.cs b/src/Banquale/Banquale/Model/Manager.cs new file mode 100644 index 0000000..137b282 --- /dev/null +++ b/src/Banquale/Banquale/Model/Manager.cs @@ -0,0 +1,20 @@ +using System; +namespace Banquale.Model +{ + public class Manager + { + public List ListeClients { get; private set;} + + public Manager() { + + } + + public bool AjouterClient(Client MonClient) + { + ListeClients.Add(MonClient); + return true; + } + + } +} + diff --git a/src/Banquale/Banquale/Model/Personne.cs b/src/Banquale/Banquale/Model/Personne.cs index 3a51e63..6266c5b 100644 --- a/src/Banquale/Banquale/Model/Personne.cs +++ b/src/Banquale/Banquale/Model/Personne.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace Banquale.Model { - class Personne + public class Personne { public string Nom { get; private set; } diff --git a/src/Banquale/Banquale/Model/Transactions.cs b/src/Banquale/Banquale/Model/Transactions.cs index d500d37..ec913f0 100644 --- a/src/Banquale/Banquale/Model/Transactions.cs +++ b/src/Banquale/Banquale/Model/Transactions.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace Banquale.Model { - class Transactions + public class Transactions { public int Type { get; private set; } diff --git a/src/Banquale/Banquale/Views/BalancePage.xaml.cs b/src/Banquale/Banquale/Views/BalancePage.xaml.cs index f0b719d..10d403e 100644 --- a/src/Banquale/Banquale/Views/BalancePage.xaml.cs +++ b/src/Banquale/Banquale/Views/BalancePage.xaml.cs @@ -1,4 +1,6 @@ -namespace Banquale.Views; +using Banquale.Model; +namespace Banquale.Views; + public partial class BalancePage : ContentPage { diff --git a/src/Banquale/Banquale/Views/NewPage1.xaml b/src/Banquale/Banquale/Views/NewPage1.xaml new file mode 100644 index 0000000..00565dd --- /dev/null +++ b/src/Banquale/Banquale/Views/NewPage1.xaml @@ -0,0 +1,16 @@ + + + +