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 MobileTaskPin extends Model
{
use HasFactory;
protected $table = 'mobile_task_pins';
protected $fillable = [
'user_id',
'task_id',
];
public function user()
{
return $this->belongsTo(User::class, 'user_id');
}
public function task()
{
return $this->belongsTo(MobileTask::class, 'task_id');
}
}