|
|
@ -21,6 +21,7 @@ class Coupon { |
|
|
|
String useEndTime; |
|
|
|
String useEndTime; |
|
|
|
String promotionId; |
|
|
|
String promotionId; |
|
|
|
bool centreDisplay; |
|
|
|
bool centreDisplay; |
|
|
|
|
|
|
|
bool allProduct; |
|
|
|
String tenantCode; |
|
|
|
String tenantCode; |
|
|
|
String tenantName; |
|
|
|
String tenantName; |
|
|
|
int isDelete; |
|
|
|
int isDelete; |
|
|
@ -52,6 +53,7 @@ class Coupon { |
|
|
|
..useEndTime = json['useEndTime'] as String |
|
|
|
..useEndTime = json['useEndTime'] as String |
|
|
|
..promotionId = json['promotionId'] as String |
|
|
|
..promotionId = json['promotionId'] as String |
|
|
|
..centreDisplay = json['centreDisplay'] as bool |
|
|
|
..centreDisplay = json['centreDisplay'] as bool |
|
|
|
|
|
|
|
..allProduct = json['allProduct'] as bool |
|
|
|
..tenantCode = json['tenantCode'] as String |
|
|
|
..tenantCode = json['tenantCode'] as String |
|
|
|
..tenantName = json['tenantName'] as String |
|
|
|
..tenantName = json['tenantName'] as String |
|
|
|
..isDelete = json['isDelete'] as int |
|
|
|
..isDelete = json['isDelete'] as int |
|
|
@ -84,6 +86,7 @@ class Coupon { |
|
|
|
'useEndTime': this.useEndTime, |
|
|
|
'useEndTime': this.useEndTime, |
|
|
|
'promotionId': this.promotionId, |
|
|
|
'promotionId': this.promotionId, |
|
|
|
'centreDisplay': this.centreDisplay, |
|
|
|
'centreDisplay': this.centreDisplay, |
|
|
|
|
|
|
|
'allProduct' : this.allProduct, |
|
|
|
'tenantCode': this.tenantCode, |
|
|
|
'tenantCode': this.tenantCode, |
|
|
|
'tenantName': this.tenantName, |
|
|
|
'tenantName': this.tenantName, |
|
|
|
'isDelete': this.isDelete, |
|
|
|
'isDelete': this.isDelete, |
|
|
|