|Comment newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Comment newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Comment query() * @method static \Illuminate\Database\Eloquent\Builder|Comment whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Comment whereDealId($value) * @method static \Illuminate\Database\Eloquent\Builder|Comment whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Comment whereText($value) * @method static \Illuminate\Database\Eloquent\Builder|Comment whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Comment whereUserId($value) * @mixin \Eloquent */ class Comment extends Model { protected $fillable = [ 'text', 'deal_id', 'user_id', ]; public function deal(): BelongsTo { return $this->belongsTo(Deal::class); } public function user(): BelongsTo { return $this->belongsTo(User::class); } }