diff --git a/notus/Biblioteque_de_Class/Category.cs b/notus/Biblioteque_de_Class/Category.cs new file mode 100644 index 0000000..6466376 --- /dev/null +++ b/notus/Biblioteque_de_Class/Category.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Biblioteque_de_Class +{ + internal class Category + { + public string nom { get; set; } + } +} diff --git a/notus/Biblioteque_de_Class/Class1.cs b/notus/Biblioteque_de_Class/Class1.cs deleted file mode 100644 index 29c9b95..0000000 --- a/notus/Biblioteque_de_Class/Class1.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Biblioteque_de_Class -{ - public class Class1 - { - - } -} \ No newline at end of file diff --git a/notus/Biblioteque_de_Class/Note.cs b/notus/Biblioteque_de_Class/Note.cs new file mode 100644 index 0000000..2d9c840 --- /dev/null +++ b/notus/Biblioteque_de_Class/Note.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Biblioteque_de_Class +{ + internal class Note + { + public string nom = "Note sans nom"; + public string logoPATH = "PATH TO DEFAULT LOGO"; + public List tag; + + public Note(string Nnom, string llogoPATH, List basetags) + { + nom = Nnom; + logoPATH = llogoPATH; + tag = basetags; + } + } +} diff --git a/notus/Biblioteque_de_Class/Utilisateur.cs b/notus/Biblioteque_de_Class/Utilisateur.cs new file mode 100644 index 0000000..1aa6cea --- /dev/null +++ b/notus/Biblioteque_de_Class/Utilisateur.cs @@ -0,0 +1,24 @@ +namespace Biblioteque_de_Class +{ + public class Utilisateur + { + private string Psd { get; set; } + private string Mail { get; set; } + private string Mdp { get; set; } + private List NoteList; + + public Utilisateur(string Upseudo, string Umail, string Upassword) + { + Psd = Upseudo; + Mail=Umail; + Mdp = Upassword; + NoteList = new List(); + } + + public override string ToString() + { + return $"pseudo : {Psd}\nmail : {Mail}\npassword : {Mdp}\nNote possédé : { NoteList.Count}"; + } + + } +} \ No newline at end of file