18 lines
440 B
Dart
18 lines
440 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'memory_card_bean.g.dart';
|
|
|
|
///标签
|
|
@JsonSerializable(explicitToJson: true)
|
|
class MemoryCardBean {
|
|
int? propId;
|
|
String? propName;
|
|
String? imgUrl;
|
|
|
|
MemoryCardBean(this.propId, this.propName, this.imgUrl);
|
|
|
|
factory MemoryCardBean.fromJson(Map<String, dynamic> json) => _$MemoryCardBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$MemoryCardBeanToJson(this);
|
|
}
|