芝麻web文件管理V1.00
编辑当前文件:/home/forge/stage.sksb.smartcon-survey.com/app/Models/Contact.php
hasMany(Interview::class); } public function invitations(): HasMany { return $this->hasMany(Invitation::class); } public function department(): BelongsTo { return $this->belongsTo(Department::class); } public function jobType(): BelongsTo { return $this->belongsTo(JobType::class); } public static function search($search) { return empty($search) ? static::query() : static::where('id', 'like', "%{$search}%") ->orWhere('firstname', 'like', "%{$search}%") ->orWhere('lastname', 'like', "%{$search}%") ->orWhere('email', 'like', "%{$search}%"); } }