|ScheduleProposal newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal newQuery() * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal query() * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal whereProviderId($value) * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal whereScheduleId($value) * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal withTrashed(bool $withTrashed = true) * @method static \Illuminate\Database\Eloquent\Builder|ScheduleProposal withoutTrashed() * @mixin \Eloquent */ class ScheduleProposal extends Model { use SoftDeletes; protected $fillable = [ 'schedule_id', 'provider_id', ]; protected $casts = [ 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', ]; public function schedule(): BelongsTo { return $this->belongsTo(Schedule::class); } public function provider(): BelongsTo { return $this->belongsTo(Provider::class); } }