hackaton ticket price would be 4* (full day user ticket)
on paid, it'll generate 1 user ticket for the paying user, and 3 redeem code to redeem as ticket at the same time add them as x hackers_team which would be associated to the codeable_id & codeable_type from the redeem tables.
the generated redeem code should have codeable_type=hackaton and codeable_id=hacker_team_id and give user a full 3 day ticket.
Description
we'll need to provide way to become / register as hackaton team. therefore we may need the following tables created:
note:
x
hackers_team which would be associated to the codeable_id & codeable_type from the redeem tables. the generated redeem code should havecodeable_type=hackaton
andcodeable_id=hacker_team_id
and give user a full 3 day ticket.Type