FondleTalk/lib/beans/recommend_bean.dart
2024-07-18 00:12:09 +08:00

26 lines
658 B
Dart

import 'package:json_annotation/json_annotation.dart';
import 'label_bean.dart';
part 'recommend_bean.g.dart';
///标签
@JsonSerializable(explicitToJson: true)
class RecommendBean {
int? id;
String? bgImage;
String? name;
String? biography;
int? gender;
List<LabelBean>? label;
String? imageUrl;
String? actionType;
String? actionId;
RecommendBean(this.id, this.bgImage, this.name, this.biography, this.gender, this.label, this.imageUrl, this.actionType, this.actionId);
factory RecommendBean.fromJson(Map<String, dynamic> json) => _$RecommendBeanFromJson(json);
Map<String, dynamic> toJson() => _$RecommendBeanToJson(this);
}