/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2022-03-31 17:50:27
 * @LastEditTime : 2022-03-31 17:50:32
 * @Description  : Do not edit
 */

class CommunityConfigModel {
  String? prePayOnlinePayConditions;
  bool? payByChargeYearMonth;
  bool? tempPay;
  bool? prePayPay;
  String? billPayLimit;
  bool? notNullBankAccount;

  CommunityConfigModel({
    this.prePayOnlinePayConditions,
    this.payByChargeYearMonth,
    this.tempPay,
    this.prePayPay,
    this.billPayLimit,
    this.notNullBankAccount,
  });

  CommunityConfigModel.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});

    prePayOnlinePayConditions = map['prePayOnlinePayConditions'];
    payByChargeYearMonth = map['payByChargeYearMonth'];
    tempPay = map['tempPay'];
    prePayPay = map['prePayPay'];
    billPayLimit = map['billPayLimit'];
    notNullBankAccount = map['notNullBankAccount'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> json = Map<String, dynamic>();

    json['prePayOnlinePayConditions'] = this.prePayOnlinePayConditions;
    json['payByChargeYearMonth'] = this.payByChargeYearMonth;
    json['tempPay'] = this.tempPay;
    json['prePayPay'] = this.prePayPay;
    json['billPayLimit'] = this.billPayLimit;
    json['notNullBankAccount'] = this.notNullBankAccount;

    return json;
  }
}
