23 lines
638 B
Dart
23 lines
638 B
Dart
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<String, dynamic> json) => _$ResultListBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$ResultListBeanToJson(this);
|
|
}
|