class WatchHistory String userId; String videoId; int lastTimestampSeconds; LocalDateTime lastWatchedAt;
1. Introduction Nuefliks is an on-demand video streaming platform. This document presents the low-level design (LLD) of its core backend components — focusing on user session management , video metadata handling , subscription plans , and watch history .
enum PlanType FREE_TRIAL, MONTHLY, YEARLY, PREMIUM
class Subscription String userId; SubscriptionPlan plan; LocalDate startDate; LocalDate endDate; boolean isActive();
class Movie extends Video String director; int releaseYear;
class Episode extends Video int seasonNo; int episodeNo; String seriesId;
class SubscriptionPlan PlanType type; double price; int maxDevices; boolean includesAds;
abstract class Video String videoId; String title; int durationSeconds; String url; boolean isFree;
Lld Nuefliks Fixed 〈No Ads〉
class WatchHistory String userId; String videoId; int lastTimestampSeconds; LocalDateTime lastWatchedAt;
1. Introduction Nuefliks is an on-demand video streaming platform. This document presents the low-level design (LLD) of its core backend components — focusing on user session management , video metadata handling , subscription plans , and watch history .
enum PlanType FREE_TRIAL, MONTHLY, YEARLY, PREMIUM lld nuefliks
class Subscription String userId; SubscriptionPlan plan; LocalDate startDate; LocalDate endDate; boolean isActive();
class Movie extends Video String director; int releaseYear; class WatchHistory String userId
class Episode extends Video int seasonNo; int episodeNo; String seriesId;
class SubscriptionPlan PlanType type; double price; int maxDevices; boolean includesAds; video metadata handling
abstract class Video String videoId; String title; int durationSeconds; String url; boolean isFree;