SteamCloudGame/lib/beans/property_bean.dart
2024-11-23 15:25:11 +08:00

18 lines
442 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'property_bean.g.dart';
///
@JsonSerializable(explicitToJson: true)
class PropertyBean {
String? title;
String? consumeDetails;
String? datePrompt;
PropertyBean(this.title, this.consumeDetails, this.datePrompt);
factory PropertyBean.fromJson(Map<String, dynamic> json) => _$PropertyBeanFromJson(json);
Map<String, dynamic> toJson() => _$PropertyBeanToJson(this);
}