laravel事件报错must be an instance of illuminate/foundation/auth/user

Argument 1 passed to AppEventsLoginNotice::__construct() must be an instance of IlluminateFoundationAuthUser, instance of AppModelsUser given, called in 

是因为在事件里用了IlluminateFoundationAuthUser这个命名空间下的User 而应该用AppModelsUser