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.
22 lines
532 B
22 lines
532 B
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'subscribe_param.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
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);
|
||
|
|
||
|
|
||
|
}
|