-
Gabriel Copat authored6392b610
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
User.java 481 B
package Team5.SmartTowns.users;
import Team5.SmartTowns.rewards.Badge;
import Team5.SmartTowns.rewards.Sticker;
import java.util.HashMap;
import java.util.Map;
public class User {
String email; //Validation would be done by email, since they will have that
Map<Badge, Integer> badgeProgress = new HashMap<>(); // Demonstrates the progress towards a specific badge (0-100)
Map<Sticker, Boolean> hasStickers = new HashMap<>(); // True if User has sticker (key)
}