Your company has an internal corporate website that employees can access from the office. They identify themselves using their corporate email.
Now, you want to add a new feature for this website. You want to let users to suggest ideas related with the company. Other users will be able to vote for these ideas.
Employees can suggest ideas. The ideas have just the user who's suggesting the idea, a text with the suggestion, and the date when the idea was suggested. These ideas will be persisted to a database.
Employees can vote ideas.
Employees can't vote their own ideas.
Employees can't vote twice to the same idea.
Employees have only 3 votes. They can't vote more than 3 ideas.