This commit is contained in:
Michał Sieciechowicz 2021-02-28 00:55:32 +01:00
parent a348b4c738
commit fe90503491
1 changed files with 3 additions and 1 deletions

View File

@ -12,8 +12,10 @@ class JobModel extends BaseModel {
public int $id; public int $id;
public float $budget; public float $budget;
public static function Initialize() { public static function Initialize() {
echo "init ";
if (static::$query === null) { if (static::$query === null) {
ststic::$query = new JobQuery($this); echo "query ";
static::$query = new JobQuery($this);
} }
} }
public static function GetLast10() { public static function GetLast10() {