diff --git a/lib/model/discover/visitor_model.dart b/lib/model/discover/visitor_model.dart deleted file mode 100644 index 66a7e0d..0000000 --- a/lib/model/discover/visitor_model.dart +++ /dev/null @@ -1,75 +0,0 @@ -class VisitorModel { - final String? miId; - final String? profilePhoto; - final String? nickName; - final int? height; - final String? visitTime; - final String? education; - final int? age; - final int? minimumIncome; - final int? maximumIncome; - final String? income; - final String? describeInfo; - final int? vip; - final int? miSessionType; - final int? genderCode; - final int? onlineStatus; - - VisitorModel({ - this.miId, - this.profilePhoto, - this.nickName, - this.height, - this.visitTime, - this.education, - this.age, - this.minimumIncome, - this.maximumIncome, - this.income, - this.describeInfo, - this.vip, - this.miSessionType, - this.genderCode, - this.onlineStatus, - }); - - factory VisitorModel.fromJson(Map json) { - return VisitorModel( - miId: json['miId'] as String?, - profilePhoto: json['profilePhoto'] as String?, - nickName: json['nickName'] as String?, - height: json['height'] as int?, - visitTime: json['visitTime'] as String?, - education: json['education'] as String?, - age: json['age'] as int?, - minimumIncome: json['minimumIncome'] as int?, - maximumIncome: json['maximumIncome'] as int?, - income: json['income'] as String?, - describeInfo: json['describeInfo'] as String?, - vip: json['vip'] as int?, - miSessionType: json['miSessionType'] as int?, - genderCode: json['genderCode'] as int?, - onlineStatus: json['onlineStatus'] as int?, - ); - } - - Map toJson() { - return { - 'miId': miId, - 'profilePhoto': profilePhoto, - 'nickName': nickName, - 'height': height, - 'visitTime': visitTime, - 'education': education, - 'age': age, - 'minimumIncome': minimumIncome, - 'maximumIncome': maximumIncome, - 'income': income, - 'describeInfo': describeInfo, - 'vip': vip, - 'miSessionType': miSessionType, - 'genderCode': genderCode, - 'onlineStatus': onlineStatus, - }; - } -} \ No newline at end of file