// ... existing code ...
class KRAlreadySubscribe {
  final int subscribeId;
  final int userSubscribeId;

  const KRAlreadySubscribe({
    required this.subscribeId,
    required this.userSubscribeId,
  });

  factory KRAlreadySubscribe.fromJson(Map<String, dynamic> json) {
    return KRAlreadySubscribe(
      subscribeId: json['subscribe_id'] ?? 0,
      userSubscribeId: json['user_subscribe_id'] ?? 0,
    );
  }
}

class KRAlreadySubscribeList {
  final List<KRAlreadySubscribe> list;

  KRAlreadySubscribeList({required this.list});

  factory KRAlreadySubscribeList.fromJson(Map<String, dynamic> json) {
    final List<dynamic> data = json['data'] ?? [];
    return KRAlreadySubscribeList(
      list: data.map((item) => KRAlreadySubscribe.fromJson(item)).toList(),
    );
  }
} 


// ... existing code ...