/**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['multilingual' => ['class' => MultilingualActiveRecord::className(), 'translationModelClass' => PostTranslation::className()], 'CacheableActiveRecord' => ['class' => \DevGroup\TagDependencyHelper\CacheableActiveRecord::className()], 'timestamp' => ['class' => TimestampBehavior::className(), 'createdAtAttribute' => false, 'updatedAtAttribute' => 'updated_at', 'value' => new Expression('NOW()')], ['class' => ImageBehavior::className(), 'savePathAlias' => '@app/web/images/', 'urlPrefix' => '/images/', 'crop' => true, 'attributes' => ['photo' => ['savePathAlias' => '@app/web/images/', 'urlPrefix' => '/images/', 'width' => 1040, 'height' => 700, 'thumbnails' => ['mini' => ['width' => 120, 'height' => 120]]]]]];
 }