def get_model_fields(model):
    """
    Retrieve the field names of a model.

    :param model: The model to extract the field names from

    :return: The names of the fields of a model
    :rtype: tuple of str
    """
    meta = getattr(model, "_meta")
    return tuple(field.name for field in meta.get_fields())