first commit

This commit is contained in:
2026-05-22 20:46:29 +08:00
commit b04f87f2b0
121 changed files with 14851 additions and 0 deletions

18
app/Models/Section.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Section extends Model
{
protected $fillable = [
'survey_id',
'title',
'description',
'order',
];
public function survey() { return $this->belongsTo(Survey::class); }
public function questions() { return $this->hasMany(Question::class); }
}