18 lines
442 B
Dart
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);
|
|
}
|