guild/common/models/Entity.php

28 lines
583 B
PHP
Raw Normal View History

2023-10-06 00:37:46 +03:00
<?php
namespace common\models;
class Entity
{
const ENTITY_TYPE_PROJECT = 1;
const ENTITY_TYPE_TASK = 2;
const ENTITY_TYPE_REQUEST = 3;
2024-02-15 23:54:04 +03:00
const ENTITY_TYPE_REPORT = 4;
2023-10-06 00:37:46 +03:00
/**
* @return string[]
*/
public static function getEntityTypeList(): array
{
return [
self::ENTITY_TYPE_PROJECT => "Проект",
self::ENTITY_TYPE_TASK => "Задача",
self::ENTITY_TYPE_REQUEST => "Запрос на создание проекта",
2024-02-15 23:54:04 +03:00
self::ENTITY_TYPE_REPORT => "Отчет",
2023-10-06 00:37:46 +03:00
];
}
}