phalcon处理命名空间model关系别名
<?php
namespace My\App\V1\Models;
class Genre extends Model
{
/**
*
*/
public function initialize()
{
$this->hasMany('id', Movies::class, 'genre_id', ['alias'=>'Movies']);
}
}