You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
700 B
26 lines
700 B
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/subscribe_param.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/subscribe_param.g.dart'; |
|
|
|
@JsonSerializable() |
|
class SubscribeParam { |
|
bool? isEnableSubscribe = false; |
|
int? dayOrDate = 0; |
|
dynamic startAfterDays; |
|
dynamic daysValidate; |
|
String? subscribeStartTime = ''; |
|
String? subscribeEndTime = ''; |
|
List<String>? stores = []; |
|
|
|
SubscribeParam(); |
|
|
|
factory SubscribeParam.fromJson(Map<String, dynamic> json) => $SubscribeParamFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $SubscribeParamToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |