<reponame>essembeh/python-helloworld<filename>helloworld/model.py<gh_stars>1-10
"""
model
"""
from dataclasses import dataclass


@dataclass
class User:
    """
    just a sample model class
    """
    name: str

    @property
    def name_upper(self):
        """
        name in upper case
        """
        return self.name.upper()

"""
model
"""
from dataclasses import dataclass


@dataclass
class User:
    """
    just a sample model class
    """
    name: str

    @property
    def name_upper(self):
        """
        name in upper case
        """
        return self.name.upper()
model just a sample model class name in upper case