package sy.edu.hiast.model;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.List;

@Document(collection = "users")
public class User {
    @Id
    private String id;
    private String user_name;
    private List<String> watched_movies;
    private int subscription_month;

    // Getters/Setters
    public void setUser_name(String user_name) { this.user_name = user_name; }
    public void setWatched_movies(List<String> watched_movies) { this.watched_movies = watched_movies; }
    public void setSubscription_month(int subscription_month) { this.subscription_month = subscription_month; }
}
