class CreateStaffRequest {
  int? userid;
  String? authname;
  int? configid;
  String? contactno;
  String? firstname;
  String? lastrname;
  String? email;
  String? address;
  String? suburb;
  String? city;
  String? state;
  String? postcode;
  int? roleid;
  int? applocationid;
  int? partnerid;
  int? tenantid;
  int? locationid;

  CreateStaffRequest(
      {this.userid,
        this.authname,
        this.configid,
        this.contactno,
        this.firstname,
        this.lastrname,
        this.email,
        this.address,
        this.suburb,
        this.city,
        this.state,
        this.postcode,
        this.roleid,
        this.applocationid,
        this.partnerid,
        this.tenantid,
        this.locationid});

  CreateStaffRequest.fromJson(Map<String, dynamic> json) {
    userid = json['userid'];
    authname = json['authname'];
    configid = json['configid'];
    contactno = json['contactno'];
    firstname = json['firstname'];
    lastrname = json['lastrname'];
    email = json['email'];
    address = json['address'];
    suburb = json['suburb'];
    city = json['city'];
    state = json['state'];
    postcode = json['postcode'];
    roleid = json['roleid'];
    applocationid = json['applocationid'];
    partnerid = json['partnerid'];
    tenantid = json['tenantid'];
    locationid = json['locationid'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userid'] = this.userid;
    data['authname'] = this.authname;
    data['configid'] = this.configid;
    data['contactno'] = this.contactno;
    data['firstname'] = this.firstname;
    data['lastrname'] = this.lastrname;
    data['email'] = this.email;
    data['address'] = this.address;
    data['suburb'] = this.suburb;
    data['city'] = this.city;
    data['state'] = this.state;
    data['postcode'] = this.postcode;
    data['roleid'] = this.roleid;
    data['applocationid'] = this.applocationid;
    data['partnerid'] = this.partnerid;
    data['tenantid'] = this.tenantid;
    data['locationid'] = this.locationid;
    return data;
  }
}
