Initial import

This commit is contained in:
Admin Nasledstvo
2026-05-01 20:52:04 +03:00
commit ac168868ee
10028 changed files with 2337954 additions and 0 deletions
@@ -0,0 +1,22 @@
<?php
namespace app\models;
/**
* Class CommonFields
* @package app\models
* @property int $id
* @property int $parent_id
* @property int $order_index
* @property string $name
* @property string $ts_en_name
* @property CommonFields[] $options
* @property boolean $multiple_filters
*/
class CommonFields extends _Base
{
public function getOptions() {
return $this->hasMany(CommonFields::class, ['parent_id' => 'id'])->orderBy(['order_index' => SORT_ASC])->all();
}
}