<?php
    /**
     * This is the template for generating the translated model class of a specified table.
     */

    /* @var $this yii\web\View */
    /* @var $generator yii\gii\generators\model\Generator */
    /* @var $tableName string full table name */
    /* @var $className string class name */
    /* @var $queryClassName string query class name */
    /* @var $tableSchema yii\db\TableSchema */
    /* @var $properties array list of properties (property => [type, name. comment]) */
    /* @var $labels string[] list of attribute labels (name => label) */
    /* @var $rules string[] list of validation rules */
    /* @var $relations array list of relations (name => relation declaration) */

    echo "<?php\n";
?>

namespace <?= $generator->ns ?>;

use wdigital\cms\i18n\components\translatableModel\TranslatingTrait;
use yii\db\ActiveRecord;

class <?= $translatedModelClassName ?> extends <?= '\\' . ltrim($generator->baseClass, '\\') . "\n" ?>
{
    use TranslatingTrait;
}