Map<String, dynamic> toJson() => { 'id': id, 'commentId': commentId, 'userId': userId, 'type': type, 'createdAt': createdAt.toIso8601String(), };