import 'package:household_keeper/core/database/database.dart';

/// A task paired with its room for daily plan display.
class TaskWithRoom {
  final Task task;
  final String roomName;
  final int roomId;

  const TaskWithRoom({
    required this.task,
    required this.roomName,
    required this.roomId,
  });
}

/// Daily plan data categorized into sections with progress tracking.
class DailyPlanState {
  final List<TaskWithRoom> overdueTasks;
  final List<TaskWithRoom> todayTasks;
  final List<TaskWithRoom> tomorrowTasks;
  final int completedTodayCount;
  final int totalTodayCount;

  const DailyPlanState({
    required this.overdueTasks,
    required this.todayTasks,
    required this.tomorrowTasks,
    required this.completedTodayCount,
    required this.totalTodayCount,
  });
}
