Lottery
1. Customer goes to the shop to buy lottery, and tell operator the numbers he wants.
2. Operator inputs the numbers and other information via the terminal. Then this info. is sent to server.
3. Server verifies the info and sends the ticket info to terminal.
4. Terminal prints out a ticket and save the exclusive ID number in terminal for future check purpose
5. For play winner, they can bring the ticket to operator asking for cash (Operator eye-check first and send exclusive ID number to platform for further check .)
6. Platform check the number . If correct, send the confirmations to terminal and operator pays for the cash.