import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/user_bill.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/user_bill.g.dart'; @JsonSerializable() class UserBill { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? mid = ''; String? linkId = ''; int? pm = 0; String? title = ''; String? category = ''; String? type = ''; String? number = ''; String? realNumber = ''; String? activityMoney = ''; String? surplusActivityMoney = ''; String? greenMoney = ''; String? surplusGreenMoney = ''; String? balance = ''; String? mark = ''; bool? status = false; bool? isDeleted = false; String? name = ''; UserBill(); factory UserBill.fromJson(Map json) => $UserBillFromJson(json); Map toJson() => $UserBillToJson(this); @override String toString() { return jsonEncode(this); } }