<?php namespace Kernel\Entity; class User { use libs\DataContain; use libs\DataStorage; public function __construct() { $this -> set_tablename("user"); $this -> set_fields([ "id", "name", "passhash", "create_at" ]); } public function init_by_id(int $id) :bool { } }