
class GoodsDetailsFooterModel {
    String collect;
    String collect_color;
    String collect_icon;
    String home;
    String home_color;
    String home_icon;
    String save_earn;
    String save_earn_bg1_color;
    String save_earn_bg2_color;
    String save_earn_color;
    String save_earn_val_color;
    String share_earn;
    String share_earn_bg1_color;
    String share_earn_bg2_color;
    String share_earn_color;
    String share_earn_val_color;
    String share_value;
    String slef_buy_value;

    GoodsDetailsFooterModel({this.collect, this.collect_color, this.collect_icon, this.home, this.home_color, this.home_icon, this.save_earn, this.save_earn_bg1_color, this.save_earn_bg2_color, this.save_earn_color, this.save_earn_val_color, this.share_earn, this.share_earn_bg1_color, this.share_earn_bg2_color, this.share_earn_color, this.share_earn_val_color, this.share_value, this.slef_buy_value});

    factory GoodsDetailsFooterModel.fromJson(Map<String, dynamic> json) {
        return GoodsDetailsFooterModel(
            collect: json['collect'], 
            collect_color: json['collect_color'], 
            collect_icon: json['collect_icon'], 
            home: json['home'], 
            home_color: json['home_color'], 
            home_icon: json['home_icon'], 
            save_earn: json['save_earn'], 
            save_earn_bg1_color: json['save_earn_bg1_color'], 
            save_earn_bg2_color: json['save_earn_bg2_color'], 
            save_earn_color: json['save_earn_color'], 
            save_earn_val_color: json['save_earn_val_color'], 
            share_earn: json['share_earn'], 
            share_earn_bg1_color: json['share_earn_bg1_color'], 
            share_earn_bg2_color: json['share_earn_bg2_color'], 
            share_earn_color: json['share_earn_color'], 
            share_earn_val_color: json['share_earn_val_color'], 
            share_value: json['share_value'], 
            slef_buy_value: json['slef_buy_value'], 
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['collect'] = this.collect;
        data['collect_color'] = this.collect_color;
        data['collect_icon'] = this.collect_icon;
        data['home'] = this.home;
        data['home_color'] = this.home_color;
        data['home_icon'] = this.home_icon;
        data['save_earn'] = this.save_earn;
        data['save_earn_bg1_color'] = this.save_earn_bg1_color;
        data['save_earn_bg2_color'] = this.save_earn_bg2_color;
        data['save_earn_color'] = this.save_earn_color;
        data['save_earn_val_color'] = this.save_earn_val_color;
        data['share_earn'] = this.share_earn;
        data['share_earn_bg1_color'] = this.share_earn_bg1_color;
        data['share_earn_bg2_color'] = this.share_earn_bg2_color;
        data['share_earn_color'] = this.share_earn_color;
        data['share_earn_val_color'] = this.share_earn_val_color;
        data['share_value'] = this.share_value;
        data['slef_buy_value'] = this.slef_buy_value;
        return data;
    }
}