feat: add app and database modules

This commit is contained in:
2026-05-21 16:05:11 +07:00
parent 37b7e783f5
commit fad70d096b
212 changed files with 23901 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
// MOBILE APPS
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Transaction extends Model
{
use HasFactory;
protected $fillable = [
'user_id',
'title',
'amount',
'type',
'category',
'icon',
];
public function user()
{
return $this->belongsTo(User::class);
}
}