123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- class CardListModel {
-
- String? machineryId;
-
- String? name;
-
- String? typeId;
-
- String? typeName;
-
- num? price;
-
- String? thumb;
-
-
- String? location;
-
-
- double? distance;
-
-
- String? orgId;
-
-
- String? orgName;
-
-
- String? jobStatus;
-
-
- int? status;
-
-
- List<dynamic>? contentList;
-
- List<dynamic>? imagesList;
- CardListModel();
- CardListModel.fromJson(Map<String, dynamic> json)
- : machineryId = json["machineryId"],
- name = json["name"],
- typeId = json["typeId"],
- typeName = json["typeName"],
- price = json["price"],
- thumb = json["thumb"],
- location = json["location"],
- distance = json["distance"],
- orgId = json["orgId"],
- orgName = json["orgName"],
- jobStatus = json["jobStatus"],
- status = json["status"],
- contentList = json["contentList"],
- imagesList = json["imagesList"];
- Map<String, dynamic> toJson() => {
- 'machineryId': machineryId,
- 'name': name,
- 'typeId': typeId,
- 'typeName': typeName,
- 'price': price,
- 'thumb': thumb,
- 'location': location,
- 'distance': distance,
- 'orgId': orgId,
- 'orgName': orgName,
- 'jobStatus': jobStatus,
- 'status': status,
- 'contentList': contentList,
- 'imagesList': imagesList,
- };
- }
|