$users * @property-read int|null $users_count * @method static \Illuminate\Database\Eloquent\Builder|Role newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Role newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Role query() * @method static \Illuminate\Database\Eloquent\Builder|Role whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Role whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Role whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|Role whereUpdatedAt($value) * @mixin \Eloquent */ class Role extends Model { protected $fillable = [ 'name', ]; public function users(): BelongsToMany { return $this->belongsToMany(User::class); } }