|
|
|
/// rule : ""
|
|
|
|
/// contrast : ""
|
|
|
|
/// qa : ""
|
|
|
|
|
|
|
|
class VipRuleDetails {
|
|
|
|
VipRuleDetails({
|
|
|
|
String rule,
|
|
|
|
String contrast,
|
|
|
|
String qa,
|
|
|
|
String recharge,}){
|
|
|
|
_rule = rule;
|
|
|
|
_contrast = contrast;
|
|
|
|
_qa = qa;
|
|
|
|
_recharge = recharge;
|
|
|
|
}
|
|
|
|
|
|
|
|
VipRuleDetails.fromJson(dynamic json) {
|
|
|
|
_rule = json['rule'];
|
|
|
|
_contrast = json['contrast'];
|
|
|
|
_qa = json['qa'];
|
|
|
|
_recharge = json['recharge'];
|
|
|
|
}
|
|
|
|
String _rule;
|
|
|
|
String _contrast;
|
|
|
|
String _qa;
|
|
|
|
String _recharge;
|
|
|
|
|
|
|
|
String get rule => _rule;
|
|
|
|
String get contrast => _contrast;
|
|
|
|
String get qa => _qa;
|
|
|
|
String get recharge => _recharge;
|
|
|
|
|
|
|
|
|
|
|
|
set rule(String value) {
|
|
|
|
_rule = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final map = <String, dynamic>{};
|
|
|
|
map['rule'] = _rule;
|
|
|
|
map['contrast'] = _contrast;
|
|
|
|
map['qa'] = _qa;
|
|
|
|
return map;
|
|
|
|
}
|
|
|
|
|
|
|
|
set contrast(String value) {
|
|
|
|
_contrast = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
set qa(String value) {
|
|
|
|
_qa = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
set recharge(String value) {
|
|
|
|
_recharge = value;
|
|
|
|
}
|
|
|
|
}
|