added Station Add, Delete Update

This commit is contained in:
PxlLoewe
2025-02-16 17:53:55 +01:00
parent 883c47bdce
commit ac492b934f
20 changed files with 615 additions and 33 deletions

View File

@@ -1,29 +1,34 @@
import Link from 'next/link';
import { User2 } from 'lucide-react';
import { PaginatedTable } from '../../../_components/PaginatedTable';
export default async () => {
return (
<PaginatedTable
showEditButton
prismaModel="user"
columns={[
{
header: 'ID',
accessorKey: 'publicId',
},
{
header: 'Vorname',
accessorKey: 'firstname',
},
{
header: 'Nachname',
accessorKey: 'lastname',
},
{
header: 'Email',
accessorKey: 'email',
},
]}
/>
<>
<p className="text-2xl font-semibold text-left flex items-center gap-2">
<User2 className="w-5 h-5" /> Benutzer
</p>
<PaginatedTable
showEditButton
prismaModel="user"
columns={[
{
header: 'ID',
accessorKey: 'publicId',
},
{
header: 'Vorname',
accessorKey: 'firstname',
},
{
header: 'Nachname',
accessorKey: 'lastname',
},
{
header: 'Email',
accessorKey: 'email',
},
]}
/>
</>
);
};