first commit

This commit is contained in:
2025-04-24 23:28:22 +03:30
commit c0d0b95442
116 changed files with 14014 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Plan extends Model
{
protected $fillable = ['user_id', 'current_day', 'status'];
public function user()
{
return $this->belongsTo(User::class);
}
public function planDays()
{
return $this->hasMany(PlanDay::class);
}
}