diff --git a/generators/model/default/model.php b/generators/model/default/model.php index 1f1f8716e..9ca7f8d4b 100644 --- a/generators/model/default/model.php +++ b/generators/model/default/model.php @@ -21,10 +21,14 @@ use Yii; /** +comment): ?> + * comment, ["\n" => "\n * "]) . "\n" ?> + * This is the model class for table "generateTableName($tableName) ?>". + * columns as $column): ?> - * @property phpType} \${$column->name}\n" ?> + * @property phpType} \${$column->name}" . ($column->comment ? " " . strtr($column->comment, ["\n" => "\n * "]) : '') . "\n" ?> *