This commit is contained in:
Dariusz Jaski 2021-03-07 11:17:21 +01:00
parent b9d1d1601a
commit 1c886fb385
1 changed files with 2 additions and 1 deletions

View File

@ -5,11 +5,12 @@ namespace Fufle\Demo\Model;
use Fufle\Demo\Query\IJobQuery;
use Fufle\Demo\Query\JobQuery;
use Fufle\ORM\Model as BaseModel;
use Fufle\ORM\IQuery;
class Job extends BaseModel {
public int $id;
public float $budget;
public static function SetQueryModel() {
public static function SetQueryModel(): IQuery {
return new JobQuery( static::class );
}