import 'package:equatable/equatable.dart';
import 'package:flutter/cupertino.dart';

abstract class LoginInviteEvent extends Equatable {
  const LoginInviteEvent();
  @override
  List<Object> get props => [];
}

/// 初始化
class LoginInviteInitEvent extends LoginInviteEvent {}

/// 查询邀请人方法
class LoginInviteQueryEvent extends LoginInviteEvent {
  final String num;
  const LoginInviteQueryEvent({@required this.num});
  @override
  List<Object> get props => [this.num];
}

/// 提交方法
class LoginInviteSubmitEvent extends LoginInviteEvent {
  final String num;
  final String mobile;
  const LoginInviteSubmitEvent({@required this.num, @required this.mobile});

  @override
  List<Object> get props => [this.num, this.mobile];
}
