class SignUpModel {
  final String name;
  final String number;
  final String password;
  final String email;

  SignUpModel({
    required this.name,
    required this.number,
    required this.password,
    required this.email,
  });

  // Optional: toJson for API calls
  Map<String, dynamic> toJson() {
    return {
      'name': name,
      'number': number,
      'password': password,
      'email': email,
    };
  }

  // Optional: fromJson for parsing API responses
  factory SignUpModel.fromJson(Map<String, dynamic> json) {
    return SignUpModel(
      name: json['name'],
      number: json['number'],
      password: json['password'],
      email: json['email'],
    );
  }
}
