how can i create ticket system for movie web application

I have created a web application for Movie's but i am stuck at how can i show the tickets for the movies, given their types: (Silver=100,Gold=150,Platinum=250).

Can someone please describe how can i create tickets using seat id,user id and movie id.

also, how can the quantity of tickets calculated by amount of tickets(as per above)

Hi Harshit,

Please provide DB structure or oml.


Regrads

Rahul Sahu

Harshit Turkar wrote:

I have created a web application for Movie's but i am stuck at how can i show the tickets for the movies, given their types: (Silver=100,Gold=150,Platinum=250).

Can someone please describe how can i create tickets using seat id,user id and movie id.

also, how can the quantity of tickets calculated by amount of tickets(as per above)


Hi ,

You can do simple one thing

Create static table for ticket type for silver,gold,platinum

Also create a table for seat ot you can take one drop drop and provide 1-100 options

After that create one table for ticket in this table add attributes movie id, ticket type id,seat id,user id,


On the seat drop down create a action for calculating amount based on selected seat and ticket type

And one action for tickets type and calculated also here.


Hope this will help you.

Regards

Rahul Sahu