# This file was auto-generated by Fern from our API Definition.

import datetime as dt
import typing

import pydantic
from ..core.unchecked_base_model import UncheckedBaseModel
from .select_multi_definition_field_configuration import SelectMultiDefinitionFieldConfiguration
from .select_multi_definition_field_type import SelectMultiDefinitionFieldType


class SelectMultiDefinition(UncheckedBaseModel):
    created_at: dt.datetime = pydantic.Field()
    """
    Created Timestamp
    """

    creator_id: str = pydantic.Field()
    """
    Field definition creator ID
    """

    field_configuration: SelectMultiDefinitionFieldConfiguration
    field_type: SelectMultiDefinitionFieldType = pydantic.Field()
    """
    Field type
    """

    id: str = pydantic.Field()
    """
    Field definition ID
    """

    mutable: bool = pydantic.Field()
    """
    Field definition mutability. System fields cannot be updated.
    """

    name: str = pydantic.Field()
    """
    FieldDefinition Name
    """

    updated_at: dt.datetime = pydantic.Field()
    """
    Updated Timestamp
    """

    model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
