<?php
/**
 * This source file is part of the open source project
 * ExpressionEngine (https://expressionengine.com)
 *
 * @link      https://expressionengine.com/
 * @copyright Copyright (c) 2003-2022, Packet Tide, LLC (https://www.packettide.com)
 * @license   https://expressionengine.com/license Licensed under Apache License, Version 2.0
 */

namespace ExpressionEngine\Model\Addon;

use ExpressionEngine\Service\Model\Model;

/**
 * Fieldtype Model
 */
class Fieldtype extends Model
{
    protected static $_primary_key = 'fieldtype_id';
    protected static $_table_name = 'fieldtypes';

    protected static $_typed_columns = array(
        'has_global_settings' => 'boolString',
        'settings' => 'base64Serialized',
    );

    protected $fieldtype_id;
    protected $name;
    protected $version;
    protected $settings;
    protected $has_global_settings;
}

// EOF
