Project

General

Profile

Actions

Task #24

open

Create Advertisement

Added by Dana Basheer about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
High
Assignee:
Start date:
01/08/2026
Due date:
01/08/2026 (57 days late)
% Done:

0%

Estimated time:

Description

Implement an advertisement management module under the Admin Panel. Admin users should be able to create, upload, active, and deactivate advertisements.
Advertisements can be image-based or video-based and will be displayed in the application based on active status.

***advertisements_table

id (PK) – Unique identifier for each advertisement

media_type – Type of media (image / video)

media_url – Path or URL of the uploaded image or video

is_active – Status to enable or disable the advertisement

created_at – Date and time when the advertisement was created

**Validations

*media_type is mandatory and must be either image or video.

*media_url is mandatory and must be a valid file URL/path.

*If media_type = image, allowed formats are jpg, jpeg, png.

*If media_type = video, allowed formats are mp4, mov (as per project requirement).

*Maximum file size limits should be enforced (separate limits for image and video if required).

*is_active can only be updated by admin users.

*Only one or multiple advertisements can be active at a time based on business rules.

*created_at is auto-generated and cannot be edited manually.

Actions #1

Updated by Anna Ann about 2 months ago

  • Status changed from New to In Progress
Actions #2

Updated by Anna Ann about 2 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF