Files
opentextsummaries/app/Models/Summary.php
T
2025-09-13 17:39:17 +03:00

23 lines
345 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Summary extends Model
{
protected $fillable = [
'content',
'key_insights',
'book_id',
];
/**
* Get the book that owns the summary.
*/
public function book()
{
return $this->belongsTo(Book::class);
}
}