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.
31 lines
685 B
31 lines
685 B
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'act_info.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class ActInfo { |
|
ActInfo({ |
|
this.couponDiscountAmount, |
|
this.couponDiscountRate, |
|
this.couponId, |
|
this.couponType, |
|
this.discountAmount, |
|
this.discountRate, |
|
this.promotionId, |
|
this.promotionType, |
|
}); |
|
|
|
|
|
String? couponDiscountAmount; |
|
int? couponDiscountRate; |
|
String? couponId; |
|
int? couponType; |
|
String? discountAmount; |
|
int? discountRate; |
|
String? promotionId; |
|
int? promotionType; |
|
|
|
factory ActInfo.fromJson(Map<String, dynamic> json) => _$ActInfoFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$ActInfoToJson(this); |
|
}
|
|
|