class Person {
  String? personId;
  String? appId;
  String? openid;
  String? nickName;
  String? userName;
  String? avatar;
  num? sex;
  String? phone;
  String? userId;
  num? status;
  String? createDate;
  bool? isOrgManager;

  Person();

  Person.fromJson(Map<String, dynamic> json)
      : personId = json["personId"],
        appId = json["appId"],
        openid = json["openid"],
        nickName = json["nickName"],
        userName = json["userName"],
        avatar = json["avatar"],
        sex = json["sex"],
        phone = json["phone"],
        userId = json["userId"],
        status = json["status"],
        createDate = json["createDate"],
        isOrgManager = json["isOrgManager"];

  Map<String, dynamic> toJson() => {
        'personId': personId,
        'appId': appId,
        'openid': openid,
        'nickName': nickName,
        'userName': userName,
        'avatar': avatar,
        'sex': sex,
        'phone': phone,
        'userId': userId,
        'status': status,
        'createDate': createDate,
        'isOrgManager': isOrgManager,
      };
}
