MotoDeliveryManager is a system built with .NET and C# for managing the rental of motorcycles and delivery drivers. It provides functionalities for registering new motorcycles, managing deliveries, and handling driver registrations and rentals.
As an admin, I want to view all registered motorcycles and filter them by license plate, So that I can easily manage and locate specific motorcycles within the system.
Acceptance Criteria:
All registered motorcycles are listed by default.
The user can filter the motorcycle list by license plate.
The query should return motorcycles that match the search criteria.
As a delivery driver, I want to upload a photo of my driver's license to update my registration, So that my profile is complete and complies with the requirements to rent motorcycles.
Acceptance Criteria:
The file must be in png or bmp format.
The photo must be stored outside the database, in a designated storage.
The system must update the driver's registration with the image file path.
The user receives a success message after the image is uploaded.
Note:
Eu como entregador quero enviar a foto de minha CNH para atualizar meu cadastro.
O formato do arquivo deve ser png ou bmp.
A foto não poderá ser armazenada no banco de dados, você pode utilizar um storage (disco local, Amazon S3, MinIO ou outros).
As a delivery driver, I want to register on the platform, So that I can rent motorcycles and make deliveries.
Acceptance Criteria:
All required fields (identifier, name, CNPJ, date of birth, driver's license number, driver's license type, driver's license photo) must be filled out.
The CNPJ and driver's license number must be unique in the system.
Only driver's licenses of type A, B, or both A+B are accepted for registration.
The user receives a success message upon completion of the registration.
--> Note:
Eu como usuário entregador quero me cadastrar na plataforma para alugar motos.
Os dados do entregador são (identificador, nome, CNPJ, data de nascimento, número da CNH, tipo da CNH, imagem da CNH)