mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-27 14:00:12 +08:00
44
lib/models_new/space/space/elec_list.dart
Normal file
44
lib/models_new/space/space/elec_list.dart
Normal file
@@ -0,0 +1,44 @@
|
||||
class ElecList {
|
||||
String? title;
|
||||
int? elecNum;
|
||||
int? isCustomize;
|
||||
String? bpNum;
|
||||
String? minBp;
|
||||
String? maxBp;
|
||||
int? bpNumFen;
|
||||
int? isDefault;
|
||||
int? minElec;
|
||||
int? maxElec;
|
||||
int? minBpFen;
|
||||
int? maxBpFen;
|
||||
|
||||
ElecList({
|
||||
this.title,
|
||||
this.elecNum,
|
||||
this.isCustomize,
|
||||
this.bpNum,
|
||||
this.minBp,
|
||||
this.maxBp,
|
||||
this.bpNumFen,
|
||||
this.isDefault,
|
||||
this.minElec,
|
||||
this.maxElec,
|
||||
this.minBpFen,
|
||||
this.maxBpFen,
|
||||
});
|
||||
|
||||
factory ElecList.fromJson(Map<String, dynamic> json) => ElecList(
|
||||
title: json['title'] as String?,
|
||||
elecNum: json['elec_num'] as int?,
|
||||
isCustomize: json['is_customize'] as int?,
|
||||
bpNum: json['bp_num'] as String?,
|
||||
minBp: json['min_bp'] as String?,
|
||||
maxBp: json['max_bp'] as String?,
|
||||
bpNumFen: json['bp_num_fen'] as int?,
|
||||
isDefault: json['is_default'] as int?,
|
||||
minElec: json['min_elec'] as int?,
|
||||
maxElec: json['max_elec'] as int?,
|
||||
minBpFen: json['min_bp_fen'] as int?,
|
||||
maxBpFen: json['max_bp_fen'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user