git commit "Complete today's development"

This commit is contained in:
2026-08-16 16:56:21 +03:30
parent 6302570d75
commit 043b6ed931
17 changed files with 1107 additions and 825 deletions
+6 -2
View File
@@ -12,13 +12,13 @@ use Illuminate\Database\Eloquent\Model;
/**
* Class City
*
*
* @property int $id
* @property int $provinces
* @property string $name
* @property Carbon $created_at
* @property Carbon $updated_at
*
*
* @property Collection|User[] $users
*
* @package App\Models
@@ -41,4 +41,8 @@ class City extends Model
{
return $this->hasMany(User::class);
}
public function province()
{
return $this->hasMany(Province::class);
}
}