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.
40 lines
1.2 KiB
40 lines
1.2 KiB
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'coupon_vo.g.dart'; |
|
|
|
@JsonSerializable() |
|
class CouponVo { |
|
String bizId; |
|
num bizType; |
|
bool centreDisplay; |
|
String couponDescription; |
|
String couponImg; |
|
String couponName; |
|
String createTime; |
|
num createUser; |
|
num discountAmount; |
|
num discountPercent; |
|
num fullAmount; |
|
num id; |
|
num isDelete; |
|
num memberCouponId; |
|
num promotionId; |
|
String publishEndTime; |
|
String publishStartTime; |
|
String receiveTime; |
|
bool received; |
|
num status; |
|
String tenantCode; |
|
String updateTime; |
|
num updateUser; |
|
String useEndTime; |
|
String useStartTime; |
|
String useTime; |
|
|
|
CouponVo({this.bizId, this.bizType, this.centreDisplay, this.couponDescription, this.couponImg, this.couponName, this.createTime, this.createUser, this.discountAmount, this.discountPercent, this.fullAmount, this.id, this.isDelete, this.memberCouponId, this.promotionId, this.publishEndTime, this.publishStartTime, this.receiveTime, this.received, this.status, this.tenantCode, this.updateTime, this.updateUser, this.useEndTime, this.useStartTime, this.useTime}); |
|
|
|
factory CouponVo.fromJson(Map<String, dynamic> json) => _$CouponVoFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$CouponVoToJson(this); |
|
} |
|
|
|
|