|bool */ protected $guarded = ['id']; /** * Get the user record associated with the term. */ public function users() { return $this->belongsToMany(User::class)->withPivot('user_id')->withTimestamps(); } }