import 'package:json_annotation/json_annotation.dart';
import "storeInfo.dart";
import "similarity.dart";
import "productAttr.dart";
import "reply.dart";
import "product.dart";
part 'details.g.dart';

@JsonSerializable()
class Details {
    Details();

    num uid;
    StoreInfo storeInfo;
    List<Similarity> similarity;
    List<ProductAttr> productAttr;
    @JsonKey(name: 'productValue') dynamic productValue;
    @JsonKey(name: 'priceName') dynamic priceName;
    Reply reply;
    num replyCount;
    @JsonKey(name: 'replyChance') dynamic replyChance;
    num mer_id;
    List system_store;
    List<Product> good_list;
    String mapKey;
    num store_self_mention;
    List activity;
    
    factory Details.fromJson(Map<String,dynamic> json) => _$DetailsFromJson(json);
    Map<String, dynamic> toJson() => _$DetailsToJson(this);
}
