import { PaginatedTable } from '../../../_components/PaginatedTable';

export default async () => {
  return (
    <PaginatedTable
      prismaModel="user"
      columns={[
        {
          header: 'ID',
          accessorKey: 'publicId',
        },
        {
          header: 'Vorname',
          accessorKey: 'firstname',
        },
        {
          header: 'Nachname',
          accessorKey: 'lastname',
        },
        {
          header: 'Email',
          accessorKey: 'email',
        },
        {
          header: 'Role',
          accessorKey: 'role',
        },
      ]}
    />
  );
};
