63 lines
1.3 KiB
Dart
63 lines
1.3 KiB
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'history_fault_bean.dart';
|
|
|
|
part 'odf_details_bean.g.dart';
|
|
|
|
@JsonSerializable(explicitToJson: true)
|
|
class OdfDetailsBean {
|
|
int? id;
|
|
String? name;
|
|
int? roomId;
|
|
String? roomName;
|
|
int? rackId;
|
|
String? rackName;
|
|
int? frameId;
|
|
String? frameName;
|
|
int? deptId;
|
|
int? rowNumber;
|
|
int? portNumber;
|
|
int? status;
|
|
String? remarks;
|
|
String? opticalAttenuation;
|
|
String? opticalCableOffRemarks;
|
|
String? historyRemarks;
|
|
List<HistoryFaultBean>? historyFault;
|
|
String? createdAt;
|
|
String? updatedAt;
|
|
String? statusLabel;
|
|
String? deptName;
|
|
String? equipmentModel;
|
|
String? businessType;
|
|
|
|
|
|
OdfDetailsBean(
|
|
this.id,
|
|
this.name,
|
|
this.roomId,
|
|
this.roomName,
|
|
this.rackId,
|
|
this.rackName,
|
|
this.frameId,
|
|
this.frameName,
|
|
this.deptId,
|
|
this.rowNumber,
|
|
this.portNumber,
|
|
this.status,
|
|
this.remarks,
|
|
this.opticalAttenuation,
|
|
this.opticalCableOffRemarks,
|
|
this.historyRemarks,
|
|
this.historyFault,
|
|
this.createdAt,
|
|
this.updatedAt,
|
|
this.statusLabel,
|
|
this.deptName,
|
|
this.equipmentModel,
|
|
this.businessType);
|
|
|
|
factory OdfDetailsBean.fromJson(Map<String, dynamic> json) => _$OdfDetailsBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$OdfDetailsBeanToJson(this);
|
|
}
|