feat(mobile): add mobile app with Expo/React Native and Laravel API endpoints

This commit is contained in:
2026-08-07 19:22:13 +08:00
parent a77fd9a575
commit 9d63e02065
355 changed files with 68472 additions and 16 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class MobileSubtask extends Model
{
use HasFactory;
protected $table = 'mobile_subtasks';
protected $fillable = [
'task_id',
'title',
'is_completed',
];
protected $casts = [
'is_completed' => 'boolean',
];
public function task()
{
return $this->belongsTo(MobileTask::class, 'task_id');
}
}