<?php namespace App\Entity; class Group { protected static $tablename = "group"; use \libs\DataContain; use \libs\DataStorage; public function __construct() { $this -> set_fields([ "user_id", "title", "type", "position", "update_at", "create_at" ]); } public function change_position(int $new_pos) :bool { } }