|SessionModel newModelQuery() * @method static Builder|SessionModel newQuery() * @method static Builder|SessionModel query() * * @mixin \Eloquent */ #[Fillable([ 'token', 'user_id', 'created_at', 'expires_at', ])] class SessionModel extends Model { protected $table = 'auth_sessions'; protected $primaryKey = 'token'; public $incrementing = false; protected $keyType = 'string'; public $timestamps = false; /** * @return array */ protected function casts(): array { return [ 'created_at' => 'datetime', 'expires_at' => 'datetime', ]; } }