public function __construct() { parent::__construct(); $this->attr('char')->char()->setToArrayDefault(); $this->attr('relations')->one2many('many2oneNew')->setEntity(Classes::ENTITY_NO_VALIDATION); }