<?php namespace app\models\entity; use yii\db\ActiveRecord; /** * @property bool $id [tinyint(3) unsigned] * @property string $name [varchar(255)] * @property string $color [varchar(255)] */ class TaskStatusNames extends ActiveRecord { /** * @return string название таблицы, сопоставленной с этим ActiveRecord-классом. */ public static function tableName() { return '{{task_status_names}}'; } }