///智能粘贴板设置参数
///杨华轩
class IntellectSearchSetModel {
  String isListen;
  String isShiftUrl;
  List<String> platform;
  String isKeyLength;
  String keyLengthMin;
  String keyLengthMax;
  String isNumber;
  String numberMin;
  String numberMax;
  String isLetter;
  String letterMin;
  String letterMax;
  String isNumAndLet;
  String numAndLetMin;
  String numAndLetMax;
  List<String> banWords;

  IntellectSearchSetModel(
      {this.isListen,
        this.isShiftUrl,
        this.platform,
        this.isKeyLength,
        this.keyLengthMin,
        this.keyLengthMax,
        this.isNumber,
        this.numberMin,
        this.numberMax,
        this.isLetter,
        this.letterMin,
        this.letterMax,
        this.isNumAndLet,
        this.numAndLetMin,
        this.numAndLetMax,
        this.banWords});

  IntellectSearchSetModel.fromJson(Map<String, dynamic> json) {
    isListen = json['isListen'];
    isShiftUrl = json['isShiftUrl'];
    platform = json['platform'].cast<String>();
    isKeyLength = json['isKeyLength'];
    keyLengthMin = json['keyLengthMin'];
    keyLengthMax = json['keyLengthMax'];
    isNumber = json['isNumber'];
    numberMin = json['numberMin'];
    numberMax = json['numberMax'];
    isLetter = json['isLetter'];
    letterMin = json['letterMin'];
    letterMax = json['letterMax'];
    isNumAndLet = json['isNumAndLet'];
    numAndLetMin = json['numAndLetMin'];
    numAndLetMax = json['numAndLetMax'];
    banWords = json['banWords'].cast<String>();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['isListen'] = this.isListen;
    data['isShiftUrl'] = this.isShiftUrl;
    data['platform'] = this.platform;
    data['isKeyLength'] = this.isKeyLength;
    data['keyLengthMin'] = this.keyLengthMin;
    data['keyLengthMax'] = this.keyLengthMax;
    data['isNumber'] = this.isNumber;
    data['numberMin'] = this.numberMin;
    data['numberMax'] = this.numberMax;
    data['isLetter'] = this.isLetter;
    data['letterMin'] = this.letterMin;
    data['letterMax'] = this.letterMax;
    data['isNumAndLet'] = this.isNumAndLet;
    data['numAndLetMin'] = this.numAndLetMin;
    data['numAndLetMax'] = this.numAndLetMax;
    data['banWords'] = this.banWords;
    return data;
  }
}
