from tkinter import StringVar



class LoginModel:
    """
    Documentation de la classe
    """
    def __init__(self, login,passwd):
        """
        Constructeur
        """
        self._login = login
        self._password = passwd

    # getters and setters
    def getLogin(self):
        return self._login

    def getPassword(self):
        return self._password

    def setLogin(self, login):
        self._login = login

    def setPassword(self, passwd):
        self._password = passwd
class UserModel:

    def __init__(self, id, nom, prenom, mail, role,username, password,token=""):
        self._id = id
        self._nom = nom
        self._prenom = prenom
        self._mail = mail
        self._role = role
        self._username = username
        self._password = password
        self._token = token

    # Getters
    def getId(self):
        return self._id
    def getNom(self):
        return self._nom
    def getPrenom(self):
        return self._prenom
    def getMail(self):
        return self._mail
    def getRole(self):
        return self._role
    def getUsername(self):
        return self._username
    def getPassword(self):
        return self._password
    def getToken(self):
        return self._token

    # Setters
    def setNom(self,nom):
        self._nom = nom
    def setPrenom(self,prenom):
        self._prenom = prenom
    def setMail(self,mail):
        self._mail = mail
    def setRole(self,role):
        self._role = role
    def setUsername(self,username):
        self._username = username
    def setPassword(self,password):
        self._password = password
    def setToken(self,token):
        self._token = token
e907f0ab833e9d58ba70a928bbfee0b69857f8f3
<mask token>


class UserModel:

    def __init__(self, id, nom, prenom, mail, role, username, password,
        token=''):
        self._id = id
        self._nom = nom
        self._prenom = prenom
        self._mail = mail
        self._role = role
        self._username = username
        self._password = password
        self._token = token

    def getId(self):
        return self._id

    def getNom(self):
        return self._nom

    def getPrenom(self):
        return self._prenom

    def getMail(self):
        return self._mail

    def getRole(self):
        return self._role

    def getUsername(self):
        return self._username

    def getPassword(self):
        return self._password

    def getToken(self):
        return self._token

    def setNom(self, nom):
        self._nom = nom

    def setPrenom(self, prenom):
        self._prenom = prenom

    def setMail(self, mail):
        self._mail = mail

    def setRole(self, role):
        self._role = role

    def setUsername(self, username):
        self._username = username

    def setPassword(self, password):
        self._password = password

    def setToken(self, token):
        self._token = token

<mask token>


class LoginModel:
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def setPassword(self, passwd):
        self._password = passwd


class UserModel:

    def __init__(self, id, nom, prenom, mail, role, username, password,
        token=''):
        self._id = id
        self._nom = nom
        self._prenom = prenom
        self._mail = mail
        self._role = role
        self._username = username
        self._password = password
        self._token = token

    def getId(self):
        return self._id

    def getNom(self):
        return self._nom

    def getPrenom(self):
        return self._prenom

    def getMail(self):
        return self._mail

    def getRole(self):
        return self._role

    def getUsername(self):
        return self._username

    def getPassword(self):
        return self._password

    def getToken(self):
        return self._token

    def setNom(self, nom):
        self._nom = nom

    def setPrenom(self, prenom):
        self._prenom = prenom

    def setMail(self, mail):
        self._mail = mail

    def setRole(self, role):
        self._role = role

    def setUsername(self, username):
        self._username = username

    def setPassword(self, password):
        self._password = password

    def setToken(self, token):
        self._token = token

<mask token>


class LoginModel:
    <mask token>

    def __init__(self, login, passwd):
        """
        Constructeur
        """
        self._login = login
        self._password = passwd
    <mask token>

    def getPassword(self):
        return self._password
    <mask token>

    def setPassword(self, passwd):
        self._password = passwd


class UserModel:

    def __init__(self, id, nom, prenom, mail, role, username, password,
        token=''):
        self._id = id
        self._nom = nom
        self._prenom = prenom
        self._mail = mail
        self._role = role
        self._username = username
        self._password = password
        self._token = token

    def getId(self):
        return self._id

    def getNom(self):
        return self._nom

    def getPrenom(self):
        return self._prenom

    def getMail(self):
        return self._mail

    def getRole(self):
        return self._role

    def getUsername(self):
        return self._username

    def getPassword(self):
        return self._password

    def getToken(self):
        return self._token

    def setNom(self, nom):
        self._nom = nom

    def setPrenom(self, prenom):
        self._prenom = prenom

    def setMail(self, mail):
        self._mail = mail

    def setRole(self, role):
        self._role = role

    def setUsername(self, username):
        self._username = username

    def setPassword(self, password):
        self._password = password

    def setToken(self, token):
        self._token = token

<mask token>


class LoginModel:
    """
    Documentation de la classe
    """

    def __init__(self, login, passwd):
        """
        Constructeur
        """
        self._login = login
        self._password = passwd

    def getLogin(self):
        return self._login

    def getPassword(self):
        return self._password

    def setLogin(self, login):
        self._login = login

    def setPassword(self, passwd):
        self._password = passwd


class UserModel:

    def __init__(self, id, nom, prenom, mail, role, username, password,
        token=''):
        self._id = id
        self._nom = nom
        self._prenom = prenom
        self._mail = mail
        self._role = role
        self._username = username
        self._password = password
        self._token = token

    def getId(self):
        return self._id

    def getNom(self):
        return self._nom

    def getPrenom(self):
        return self._prenom

    def getMail(self):
        return self._mail

    def getRole(self):
        return self._role

    def getUsername(self):
        return self._username

    def getPassword(self):
        return self._password

    def getToken(self):
        return self._token

    def setNom(self, nom):
        self._nom = nom

    def setPrenom(self, prenom):
        self._prenom = prenom

    def setMail(self, mail):
        self._mail = mail

    def setRole(self, role):
        self._role = role

    def setUsername(self, username):
        self._username = username

    def setPassword(self, password):
        self._password = password

    def setToken(self, token):
        self._token = token

from tkinter import StringVar



class LoginModel:
    """
    Documentation de la classe
    """
    def __init__(self, login,passwd):
        """
        Constructeur
        """
        self._login = login
        self._password = passwd

    # getters and setters
    def getLogin(self):
        return self._login

    def getPassword(self):
        return self._password

    def setLogin(self, login):
        self._login = login

    def setPassword(self, passwd):
        self._password = passwd
class UserModel:

    def __init__(self, id, nom, prenom, mail, role,username, password,token=""):
        self._id = id
        self._nom = nom
        self._prenom = prenom
        self._mail = mail
        self._role = role
        self._username = username
        self._password = password
        self._token = token

    # Getters
    def getId(self):
        return self._id
    def getNom(self):
        return self._nom
    def getPrenom(self):
        return self._prenom
    def getMail(self):
        return self._mail
    def getRole(self):
        return self._role
    def getUsername(self):
        return self._username
    def getPassword(self):
        return self._password
    def getToken(self):
        return self._token

    # Setters
    def setNom(self,nom):
        self._nom = nom
    def setPrenom(self,prenom):
        self._prenom = prenom
    def setMail(self,mail):
        self._mail = mail
    def setRole(self,role):
        self._role = role
    def setUsername(self,username):
        self._username = username
    def setPassword(self,password):
        self._password = password
    def setToken(self,token):
        self._token = token