class MineHeaderModel {
  String name;
  String desc;
  String moduleType;
  String moduleKey;
  String isTopMargin;
  String isLeftRightMargin;
  String isShow;
  String topMargin;
  String leftRightMargin;
  String topLeftRadius;
  String topRightRadius;
  String bottomLeftRadius;
  String bottomRightRadius;
  String bgColor;
  String themeType;
  String themeColor;
  String assistColor;
  String bgImage;
  String lvBgType;
  String lvBgColor;
  String lvBgImage;
  String lvNameColor;
  String invitedCodeColor;
  String coypeIcon;
  String loginName;
  String loginNameHelpText;
  String nonLginAvatar;
  String userNameColor;
  int requiredLogin;
  int requiredTaobaoAuth;
  String skipIdentifier;
  String status;

  MineHeaderModel(
      {this.name,
        this.desc,
        this.moduleType,
        this.moduleKey,
        this.isTopMargin,
        this.isLeftRightMargin,
        this.isShow,
        this.topMargin,
        this.leftRightMargin,
        this.topLeftRadius,
        this.topRightRadius,
        this.bottomLeftRadius,
        this.bottomRightRadius,
        this.bgColor,
        this.themeType,
        this.themeColor,
        this.assistColor,
        this.bgImage,
        this.lvBgType,
        this.lvBgColor,
        this.lvBgImage,
        this.lvNameColor,
        this.invitedCodeColor,
        this.coypeIcon,
        this.loginName,
        this.loginNameHelpText,
        this.nonLginAvatar,
        this.userNameColor,
        this.requiredLogin,
        this.requiredTaobaoAuth,
        this.skipIdentifier});

  MineHeaderModel.fromJson(Map<String, dynamic> json) {
    name = json['name'];
    desc = json['desc'];
    moduleType = json['module_type'];
    moduleKey = json['module_key'];
    isTopMargin = json['is_top_margin'];
    isLeftRightMargin = json['is_left_right_margin'];
    isShow = json['is_show'];
    topMargin = json['top_margin'];
    leftRightMargin = json['left_right_margin'];
    topLeftRadius = json['top_left_radius'];
    topRightRadius = json['top_right_radius'];
    bottomLeftRadius = json['bottom_left_radius'];
    bottomRightRadius = json['bottom_right_radius'];
    bgColor = json['bg_color'];
    themeType = json['theme_type'];
    themeColor = json['theme_color'];
    assistColor = json['assist_color'];
    bgImage = json['bg_image'];
    lvBgType = json['lv_bg_type'];
    lvBgColor = json['lv_bg_color'];
    lvBgImage = json['lv_bg_image'];
    lvNameColor = json['lv_name_color'];
    invitedCodeColor = json['invited_code_color'];
    coypeIcon = json['coype_icon'];
    loginName = json['login_name'];
    loginNameHelpText = json['login_name_help_text'];
    nonLginAvatar = json['non_lgin_avatar'];
    userNameColor = json['user_name_color'];
    requiredLogin = json['required_login'];
    requiredTaobaoAuth = json['required_taobao_auth'];
    skipIdentifier = json['skip_identifier'];
    status=json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['name'] = this.name;
    data['desc'] = this.desc;
    data['module_type'] = this.moduleType;
    data['module_key'] = this.moduleKey;
    data['is_top_margin'] = this.isTopMargin;
    data['is_left_right_margin'] = this.isLeftRightMargin;
    data['is_show'] = this.isShow;
    data['top_margin'] = this.topMargin;
    data['left_right_margin'] = this.leftRightMargin;
    data['top_left_radius'] = this.topLeftRadius;
    data['top_right_radius'] = this.topRightRadius;
    data['bottom_left_radius'] = this.bottomLeftRadius;
    data['bottom_right_radius'] = this.bottomRightRadius;
    data['bg_color'] = this.bgColor;
    data['theme_type'] = this.themeType;
    data['theme_color'] = this.themeColor;
    data['assist_color'] = this.assistColor;
    data['bg_image'] = this.bgImage;
    data['lv_bg_type'] = this.lvBgType;
    data['lv_bg_color'] = this.lvBgColor;
    data['lv_bg_image'] = this.lvBgImage;
    data['lv_name_color'] = this.lvNameColor;
    data['invited_code_color'] = this.invitedCodeColor;
    data['coype_icon'] = this.coypeIcon;
    data['login_name'] = this.loginName;
    data['login_name_help_text'] = this.loginNameHelpText;
    data['non_lgin_avatar'] = this.nonLginAvatar;
    data['user_name_color'] = this.userNameColor;
    data['required_login'] = this.requiredLogin;
    data['required_taobao_auth'] = this.requiredTaobaoAuth;
    data['skip_identifier'] = this.skipIdentifier;
    return data;
  }
}

