Project

General

Profile

Actions

Aye Aye Aung #112

open

Buy Election Package By User

Added by Aye Aye Aung 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal Priority
Assignee:
Start date:
02/10/2025
Due date:
02/12/2025 (about 11 months late)
% Done:

100%

Estimated time:

Description

To implement a "buy package by user" functionality, you'll need a mechanism to allow users to purchase a pricing package, associate the package with the user, and store the relevant details in the database.
user_packages_tbl
id (BIGINT UNSIGNED)
user_id (BIGINT UNSIGNED) <- foreign key
package_id (BIGINT UNSIGNED) <- foreign key
start_date (TIMESTAMP)
end_date (TIMESTAMP)
status (ENUM('new', 'used'))
created_at (TIMESTAMP)
updated_at (TIMESTAMP)

Actions

Also available in: Atom PDF