import 'package:equatable/equatable.dart';

/// Represents a media file reference.
///
/// Used for avatars, certificates, or event photos.
class Media extends Equatable {

  const Media({
    required this.id,
    required this.url,
    required this.type,
  });
  /// Unique identifier.
  final String id;

  /// External URL to the file.
  final String url;

  /// MIME type or general type (image, pdf).
  final String type;

  @override
  List<Object?> get props => <Object?>[id, url, type];
}