initial commit

This commit is contained in:
Debian
2026-06-03 04:18:36 +07:00
commit a5569ce2a0
220 changed files with 30797 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class HealthData extends Model
{
use HasFactory;
protected $table = 'health_datas';
protected $fillable = [
'users_id',
'birthdate',
'weight',
'height',
'sleeptime',
'disease',
'food',
'alergi_makanan',
'obesity_status',
'calorie_recommendation',
];
public function user()
{
return $this->belongsTo(User::class, 'users_id');
}
}