bookmywages/lib/model/plan_sucess_model.dart
2025-10-16 11:21:52 +05:30

23 lines
424 B
Dart

class PlanSuccessModel {
final String userId;
final String planId;
final int duration;
final int type;
PlanSuccessModel({
required this.userId,
required this.planId,
required this.duration,
required this.type,
});
Map<String, dynamic> toJson() {
return {
'user_id': userId,
'plan_id': planId,
'duration': duration.toString(),
'type': type.toString(),
};
}
}