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

export default async () => {
	return (
		<>
			<PaginatedTable
				prismaModel="user"
				searchFields={["publicId", "firstname", "lastname", "email"]}
				columns={[
					{
						header: "Station",
						accessorKey: "station",
					},
					{
						header: "Alarmzeit",
						accessorKey: "alarm",
					},
					{
						header: "Status 3",
						accessorKey: "s3",
					},
					{
						header: "Status 4",
						accessorKey: "s4",
					},
					{
						header: "Status 7",
						accessorKey: "s7",
					},
					{
						header: "Status 8",
						accessorKey: "s8",
					},
					{
						header: "Status 1",
						accessorKey: "s1",
					},
					{
						header: "Flugzeit",
						accessorKey: "fz",
					},
				]}
			/>
		</>
	);
};
