import 'package:json_annotation/json_annotation.dart'; part 'user_bill.g.dart'; @JsonSerializable(explicitToJson: true) 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); }