<gh_stars>1-10
#!usr/bin/env python3
# -*- coding: utf-8 -*-

"""
User module.
"""

__author__ = '<NAME>'


class User:
    """
    User class.
    """
    __slots__ = ['_username', '_password', '_designation']

    def __init__(self, username: str, password: str, designation: str):
        """
        Constructor with parameter.
        :param username: str
        :param password: str
        :param designation: str
        """
        self._username = username
        self._password = password
        self._designation = designation

    @property
    def designation(self) -> str:
        """
        Accessor of designation.
        :return: str
        """
        return self._designation

#!usr/bin/env python3
# -*- coding: utf-8 -*-

"""
User module.
"""

__author__ = '<NAME>'


class User:
    """
    User class.
    """
    __slots__ = ['_username', '_password', '_designation']

    def __init__(self, username: str, password: str, designation: str):
        """
        Constructor with parameter.
        :param username: str
        :param password: str
        :param designation: str
        """
        self._username = username
        self._password = password
        self._designation = designation

    @property
    def designation(self) -> str:
        """
        Accessor of designation.
        :return: str
        """
        return self._designation
#!usr/bin/env python3 # -*- coding: utf-8 -*- User module. User class. Constructor with parameter.         :param username: str         :param password: str         :param designation: str Accessor of designation.         :return: str