|StudentResponsible newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible newQuery() * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible query() * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereAddressNumber($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereBirthDate($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereCityId($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereComplement($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereCpf($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereDegree($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereEmail($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereGender($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereNeighborhood($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereNotes($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible wherePhone($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible wherePostalCode($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereStateId($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereStreet($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereStudentId($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible withTrashed(bool $withTrashed = true) * @method static \Illuminate\Database\Eloquent\Builder|StudentResponsible withoutTrashed() * @mixin \Eloquent */ class StudentResponsible extends Model { use HasFactory, SoftDeletes; protected $table = 'student_responsibles'; protected $guarded = ['id']; protected $casts = [ 'birth_date' => 'date', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', ]; public function student(): BelongsTo { return $this->belongsTo(Student::class); } public function city(): BelongsTo { return $this->belongsTo(City::class); } public function state(): BelongsTo { return $this->belongsTo(State::class); } }