import 'package:json_annotation/json_annotation.dart'; part 'result_list_bean.g.dart'; @JsonSerializable(explicitToJson: true) class ResultListBean { int? id; int? deptId; String? deptName; String? roomName; String? roomAddress; int? racksCount; String? remarks; String? createdAt; String? updatedAt; ResultListBean(this.id, this.deptId, this.deptName, this.roomName, this.roomAddress, this.racksCount, this.remarks, this.createdAt, this.updatedAt); factory ResultListBean.fromJson(Map json) => _$ResultListBeanFromJson(json); Map toJson() => _$ResultListBeanToJson(this); }