<filename>app/models/user.py
import datetime


class User:
    """ This id the model class for the user or users """
    counter = 0

    def __init__(self, name, email, password, telephone=None):
        self.user_id = User.counter + 1
        self.name = name
        self.email = email
        self.password = password
        self.telephone = telephone
        self.created_at = str(datetime.datetime.now())[:10]

<filename>app/models/user.py
import datetime


class User:
    """ This id the model class for the user or users """
    counter = 0

    def __init__(self, name, email, password, telephone=None):
        self.user_id = User.counter + 1
        self.name = name
        self.email = email
        self.password = password
        self.telephone = telephone
        self.created_at = str(datetime.datetime.now())[:10]

This id the model class for the user or users