Feature/gasht rahdari

This commit is contained in:
2024-12-07 10:36:04 +00:00
committed by AmirHossein Mahmoodi
parent eb06d51c04
commit e8f8ca90b6
23 changed files with 761 additions and 4 deletions

View File

@@ -0,0 +1,24 @@
const data = [
{
id: 1,
operator_name: "امین",
phone_number: "09134849737",
car_id: "33",
start_date: "2024-11-02T11:48:22.000000Z",
end_date: "2024-11-03T11:01:14.000000Z",
register_date: "2024-11-03T11:01:14.000000Z",
},
{
id: 2,
operator_name: "امیر",
phone_number: "09134844955",
car_id: "233",
start_date: "2024-11-02T11:48:22.000000Z",
end_date: "2024-11-03T11:01:14.000000Z",
register_date: "2024-11-03T11:01:14.000000Z",
},
];
export async function GET() {
return Response.json({ data });
}

View File

@@ -0,0 +1,28 @@
const data = [
{
id: 1,
operator_name: "امین",
phone_number: "09134849737",
province: "تهران",
office: "اداره کل",
car_id: "33",
start_date: "2024-11-02T11:48:22.000000Z",
end_date: "2024-11-03T11:01:14.000000Z",
register_date: "2024-11-03T11:01:14.000000Z",
},
{
id: 2,
operator_name: "امیر",
phone_number: "09134844955",
province: "تهران",
office: "اداره کل",
car_id: "233",
start_date: "2024-11-02T11:48:22.000000Z",
end_date: "2024-11-03T11:01:14.000000Z",
register_date: "2024-11-03T11:01:14.000000Z",
},
];
export async function GET() {
return Response.json({ data });
}