<?php
/************************************************************************
 * This file is part of EspoCRM.
 *
 * EspoCRM – Open Source CRM application.
 * Copyright (C) 2014-2025 EspoCRM, Inc.
 * Website: https://www.espocrm.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 *
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 *
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
 ************************************************************************/

namespace Espo\Core\ORM\Type;

class FieldType
{
    public const VARCHAR = 'varchar';
    public const BOOL = 'bool';
    public const TEXT = 'text';
    public const INT = 'int';
    public const FLOAT = 'float';
    public const DATE = 'date';
    public const DATETIME = 'datetime';
    public const DATETIME_OPTIONAL = 'datetimeOptional';
    public const ENUM = 'enum';
    public const MULTI_ENUM = 'multiEnum';
    public const ARRAY = 'array';
    public const CHECKLIST = 'checklist';
    public const CURRENCY = 'currency';
    public const CURRENCY_CONVERTED = 'currencyConverted';
    public const PERSON_NAME = 'personName';
    public const ADDRESS = 'address';
    public const EMAIL = 'email';
    public const PHONE = 'phone';
    public const AUTOINCREMENT = 'autoincrement';
    public const URL = 'url';
    public const NUMBER = 'number';
    public const LINK = 'link';
    public const LINK_ONE = 'linkOne';
    public const LINK_PARENT = 'linkParent';
    public const FILE = 'file';
    public const IMAGE = 'image';
    public const LINK_MULTIPLE = 'linkMultiple';
    public const ATTACHMENT_MULTIPLE = 'attachmentMultiple';
    public const FOREIGN = 'foreign';
    public const WYSIWYG = 'wysiwyg';
    public const JSON_ARRAY = 'jsonArray';
    public const JSON_OBJECT = 'jsonObject';
    public const PASSWORD = 'password';
}
