31 lines
910 B
Dart
31 lines
910 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'search_list_bean.g.dart';
|
|
|
|
@JsonSerializable(explicitToJson: true)
|
|
class SearchListBean {
|
|
int? id;
|
|
String? name;
|
|
int? roomId;
|
|
String? roomName;
|
|
int? rackId;
|
|
String? rackName;
|
|
int? frameId;
|
|
String? frameName;
|
|
int? rowNumber;
|
|
int? portNumber;
|
|
int? status;
|
|
String? remarks;
|
|
String? opticalAttenuation;
|
|
String? opticalCableOffRemarks;
|
|
String? historyRemarks;
|
|
String? address;
|
|
|
|
SearchListBean(this.id, this.name, this.roomId, this.roomName, this.rackId, this.rackName, this.frameId, this.frameName, this.rowNumber,
|
|
this.portNumber, this.status, this.remarks, this.opticalAttenuation,this.opticalCableOffRemarks, this.historyRemarks, this.address);
|
|
|
|
factory SearchListBean.fromJson(Map<String, dynamic> json) => _$SearchListBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$SearchListBeanToJson(this);
|
|
}
|