class AuthModel {
  String? mUserID;
  String? mUserMCompanyID;
  String? mUserMMouID;
  String? mUserUsername;
  String? companyName;
  String? MUserSRegionalID;
  String? ip;
  String? agent;
  String? token;
  bool? isRememberMe;

  AuthModel(
      {this.mUserID,
      this.mUserMCompanyID,
      this.mUserMMouID,
      this.companyName,
      this.ip,
      this.agent,
      this.token,
      this.mUserUsername,
      this.MUserSRegionalID,
      this.isRememberMe});

  AuthModel.fromJson(Map<String, dynamic> json) {
    mUserID = json['M_UserID'];
    mUserMCompanyID = json['M_UserM_CompanyID'];
    mUserMMouID = json['M_UserM_MouID'];
    companyName = json['company_name'];
    mUserUsername = json['M_UserUsername'];
    ip = json['ip'];
    agent = json['agent'];
    token = json['token'];
    MUserSRegionalID = json['M_UserS_RegionalID'];
    isRememberMe = json['is_remember_me'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['M_UserID'] = mUserID;
    data['M_UserM_CompanyID'] = mUserMCompanyID;
    data['M_UserM_MouID'] = mUserMMouID;
    data['company_name'] = companyName;
    data['ip'] = ip;
    data['agent'] = agent;
    data['M_UserUsername'] = mUserUsername;
    data['token'] = token;
    data['M_UserS_RegionalID'] = MUserSRegionalID;
    data['is_remember_me'] = isRememberMe;
    return data;
  }
}
