from mongoengine import EmbeddedDocument, StringField
from app.models.base import TimestampedMixin

class Profile(EmbeddedDocument):
    """
    User Profile model for additional user information.

    Attributes:
        biography (str): A short biography or description of the user.
        avatar (str): URL or path to the user's profile picture.
        country (str): The user's country.
        language (str): The user's preferred language.
        timezone (str): The user's timezone information.
        phone (str): The user's contact phone number.

    """

    biography = StringField(default="", max_length=200, help_text="A short biography or description of the user.")
 
    avatar = StringField(default="", help_text="URL or path to the user's profile picture.")
    country = StringField(default="", help_text="The user's country.")
    language = StringField(default="", help_text="The user's preferred language.")
    timezone = StringField(default="", help_text="The user's timezone information.")
    phone = StringField(default="", help_text="The user's contact phone number.")
  
 