|
|
@ -1,16 +1,19 @@ |
|
|
|
/// authInfo : {"token":"eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX3R5cGUiOiJQTEFURk9STV9BUFAiLCJuYW1lIjoi5Zue5LmhXzg4ODg4OCIsInRva2VuX3R5cGUiOiJ0b2tlbiIsInVzZXJpZCI6IjE0NzA3MDI1OTIzMDM1NjI3NTIiLCJhY2NvdW50IjoiMTU2MTU2OTg3NDUiLCJleHAiOjE2NDIwNjk3OTksIm5iZiI6MTYzOTQ3Nzc5OX0.KHiw51SQ2RkARJhGKFTXgI7IrYXOhN-YqFZCwJ1jkEc","tokenType":"token","refreshToken":"eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaF90b2tlbiIsInVzZXJpZCI6IjE0NzA3MDI1OTIzMDM1NjI3NTIiLCJleHAiOjE2NDIwNjk3OTksIm5iZiI6MTYzOTQ3Nzc5OX0.jjI0dTviahPq6p4J_tx_Sn-Fg-q51kE3WPpqdVcEIMw","name":"回乡_888888","account":"15615698745","avatar":null,"workDescribe":null,"userId":"1470702592303562752","userType":"PLATFORM_APP","expire":"2592000","expiration":"2022-01-13 18:29:59","mobile":"15615698745"} |
|
|
|
/// authInfo : {"token":"eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX3R5cGUiOiJQTEFURk9STV9BUFAiLCJuYW1lIjoi5Zue5LmhXzg4ODg4OCIsInRva2VuX3R5cGUiOiJ0b2tlbiIsInVzZXJpZCI6IjE0ODQ0Nzc5NDQ4Mzg0ODgwNjQiLCJhY2NvdW50IjoiMTU0NDc4OTg3NTYiLCJleHAiOjE2NDUzNTQwOTksIm5iZiI6MTY0Mjc2MjA5OX0.dIGWaCR6uuJ4YcgTfEEeVGJtOmpAlLaxQ2sEnd_9_zw","tokenType":"token","refreshToken":"eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaF90b2tlbiIsInVzZXJpZCI6IjE0ODQ0Nzc5NDQ4Mzg0ODgwNjQiLCJleHAiOjE2NDUzNTQwOTksIm5iZiI6MTY0Mjc2MjA5OX0.ZrG-JCemN_HtFzE512311Tksh2o21ywgjHhhGeXXWrE","name":"回乡_888888","account":"15447898756","avatar":null,"workDescribe":null,"userId":"1484477944838488064","userType":"PLATFORM_APP","expire":"2592000","expiration":"2022-02-20 18:48:19","mobile":"15447898756"} |
|
|
|
/// interviewCouponList : [{"id":"1463398002331746304","createTime":"2021-11-24 14:44:07","createUser":"1333246101196636160","updateTime":"2021-11-24 14:44:07","updateUser":"1333246101196636160","storeId":"0","couponName":"满10-2","bizType":1,"allProduct":true,"productSkuId":[],"fullAmount":"10.00","discountAmount":"2.00","fullNumber":1,"discountPercent":100,"sellPrice":"0.00","sellCount":0,"bizId":"","publishStartTime":"2021-11-24 12:00:00","publishEndTime":"2021-11-30 12:00:00","useStartTime":"2021-11-24 12:00:00","useEndTime":"2021-11-30 12:00:00","promotionId":"0","dateOrDay":false,"startAfterDays":0,"daysValidate":0,"businessType":0,"centreDisplay":true,"tenantCode":"1175","isDelete":0,"storeName":"海峡姐妹奶茶店","number":1}] |
|
|
|
/// interviewCouponList : [{"id":"1478615682588344320","createTime":"2022-01-05 14:33:45","createUser":"1333246101196636160","updateTime":"2022-01-05 14:33:45","updateUser":"1333246101196636160","storeId":"0","couponName":"新品10-5","bizType":1,"allProduct":true,"productSkuId":[],"fullAmount":"10.00","discountAmount":"5.00","fullNumber":1,"discountPercent":100,"sellPrice":"0.00","sellCount":0,"bizId":"","publishStartTime":"2022-01-01 00:00:00","publishEndTime":"2022-01-31 00:00:00","useStartTime":"2022-01-02 00:00:00","useEndTime":"2022-01-30 00:00:00","promotionId":"0","dateOrDay":false,"startAfterDays":0,"daysValidate":0,"businessType":0,"centreDisplay":false,"tenantCode":"1175","isDelete":0,"storeName":"海峡姐妹茶","number":1}] |
|
|
|
/// newUserCouponList : [{"id":"1463398002331746304","createTime":"2021-11-24 14:44:07","createUser":"1333246101196636160","updateTime":"2021-11-24 14:44:07","updateUser":"1333246101196636160","storeId":"0","couponName":"满10-2","bizType":1,"allProduct":true,"productSkuId":[],"fullAmount":"10.00","discountAmount":"2.00","fullNumber":1,"discountPercent":100,"sellPrice":"0.00","sellCount":0,"bizId":"","publishStartTime":"2021-11-24 12:00:00","publishEndTime":"2021-11-30 12:00:00","useStartTime":"2021-11-24 12:00:00","useEndTime":"2021-11-30 12:00:00","promotionId":"0","dateOrDay":false,"startAfterDays":0,"daysValidate":0,"businessType":0,"centreDisplay":true,"tenantCode":"1175","isDelete":0,"storeName":"海峡姐妹奶茶店","number":1},{"id":"1463398002331746304","createTime":"2021-11-24 14:44:07","createUser":"1333246101196636160","updateTime":"2021-11-24 14:44:07","updateUser":"1333246101196636160","storeId":"0","couponName":"满10-2","bizType":1,"allProduct":true,"productSkuId":[],"fullAmount":"10.00","discountAmount":"2.00","fullNumber":1,"discountPercent":100,"sellPrice":"0.00","sellCount":0,"bizId":"","publishStartTime":"2021-11-24 12:00:00","publishEndTime":"2021-11-30 12:00:00","useStartTime":"2021-11-24 12:00:00","useEndTime":"2021-11-30 12:00:00","promotionId":"0","dateOrDay":false,"startAfterDays":0,"daysValidate":0,"businessType":0,"centreDisplay":true,"tenantCode":"1175","isDelete":0,"storeName":"海峡姐妹奶茶店","number":1},{"id":"1463398002331746304","createTime":"2021-11-24 14:44:07","createUser":"1333246101196636160","updateTime":"2021-11-24 14:44:07","updateUser":"1333246101196636160","storeId":"0","couponName":"满10-2","bizType":1,"allProduct":true,"productSkuId":[],"fullAmount":"10.00","discountAmount":"2.00","fullNumber":1,"discountPercent":100,"sellPrice":"0.00","sellCount":0,"bizId":"","publishStartTime":"2021-11-24 12:00:00","publishEndTime":"2021-11-30 12:00:00","useStartTime":"2021-11-24 12:00:00","useEndTime":"2021-11-30 12:00:00","promotionId":"0","dateOrDay":false,"startAfterDays":0,"daysValidate":0,"businessType":0,"centreDisplay":true,"tenantCode":"1175","isDelete":0,"storeName":"海峡姐妹奶茶店","number":1}] |
|
|
|
/// newUserCouponList : null |
|
|
|
|
|
|
|
/// firstLoginCouponList : [{"id":"1484456566340976640","createTime":"2022-01-21 17:23:20","createUser":"1333246101196636160","updateTime":"2022-01-21 17:23:20","updateUser":"1333246101196636160","storeId":"1333246101343436800","couponName":"新会员","bizType":1,"allProduct":true,"productSkuId":[],"fullAmount":"14.00","discountAmount":"7.00","fullNumber":1,"discountPercent":100,"sellPrice":"0.00","sellCount":0,"bizId":"","publishStartTime":"2022-01-01 00:00:00","publishEndTime":"2022-01-31 00:00:00","useStartTime":"2022-01-01 00:00:00","useEndTime":"2022-02-01 00:00:00","promotionId":"0","dateOrDay":false,"startAfterDays":0,"daysValidate":0,"businessType":0,"centreDisplay":false,"tenantCode":"1175","isDelete":0,"storeName":"海峡姐妹茶(汉街店)","number":1},{"id":"1484456980566245376","createTime":"2022-01-21 17:24:59","createUser":"1336877238389309440","updateTime":"2022-01-21 17:24:59","updateUser":"1336877238389309440","storeId":"1328618782985289728","couponName":"新会员8-8","bizType":1,"allProduct":true,"productSkuId":[],"fullAmount":"8.00","discountAmount":"8.00","fullNumber":1,"discountPercent":100,"sellPrice":"0.00","sellCount":0,"bizId":"","publishStartTime":"2022-01-01 00:00:00","publishEndTime":"2022-01-31 00:00:00","useStartTime":"2022-01-01 00:00:00","useEndTime":"2022-01-31 00:00:00","promotionId":"0","dateOrDay":false,"startAfterDays":0,"daysValidate":0,"businessType":0,"centreDisplay":false,"tenantCode":"1174","isDelete":0,"storeName":"前进麦味(凯德1818店)","number":1}] |
|
|
|
|
|
|
|
|
|
|
|
class LoginInfo { |
|
|
|
class LoginInfo { |
|
|
|
LoginInfo({ |
|
|
|
LoginInfo({ |
|
|
|
AuthInfo authInfo, |
|
|
|
AuthInfo authInfo, |
|
|
|
List<InterviewCouponList> interviewCouponList, |
|
|
|
List<InterviewCouponList> interviewCouponList, |
|
|
|
List<NewUserCouponList> newUserCouponList,}){ |
|
|
|
dynamic newUserCouponList, |
|
|
|
|
|
|
|
List<FirstLoginCouponList> firstLoginCouponList,}){ |
|
|
|
_authInfo = authInfo; |
|
|
|
_authInfo = authInfo; |
|
|
|
_interviewCouponList = interviewCouponList; |
|
|
|
_interviewCouponList = interviewCouponList; |
|
|
|
_newUserCouponList = newUserCouponList; |
|
|
|
_newUserCouponList = newUserCouponList; |
|
|
|
} |
|
|
|
_firstLoginCouponList = firstLoginCouponList; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
LoginInfo.fromJson(dynamic json) { |
|
|
|
LoginInfo.fromJson(dynamic json) { |
|
|
|
_authInfo = json['authInfo'] != null ? AuthInfo.fromJson(json['authInfo']) : null; |
|
|
|
_authInfo = json['authInfo'] != null ? AuthInfo.fromJson(json['authInfo']) : null; |
|
|
@ -20,20 +23,23 @@ class LoginInfo { |
|
|
|
_interviewCouponList.add(InterviewCouponList.fromJson(v)); |
|
|
|
_interviewCouponList.add(InterviewCouponList.fromJson(v)); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
if (json['newUserCouponList'] != null) { |
|
|
|
_newUserCouponList = json['newUserCouponList']; |
|
|
|
_newUserCouponList = []; |
|
|
|
if (json['firstLoginCouponList'] != null) { |
|
|
|
json['newUserCouponList'].forEach((v) { |
|
|
|
_firstLoginCouponList = []; |
|
|
|
_newUserCouponList.add(NewUserCouponList.fromJson(v)); |
|
|
|
json['firstLoginCouponList'].forEach((v) { |
|
|
|
|
|
|
|
_firstLoginCouponList.add(FirstLoginCouponList.fromJson(v)); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
AuthInfo _authInfo; |
|
|
|
AuthInfo _authInfo; |
|
|
|
List<InterviewCouponList> _interviewCouponList; |
|
|
|
List<InterviewCouponList> _interviewCouponList; |
|
|
|
List<NewUserCouponList> _newUserCouponList; |
|
|
|
dynamic _newUserCouponList; |
|
|
|
|
|
|
|
List<FirstLoginCouponList> _firstLoginCouponList; |
|
|
|
|
|
|
|
|
|
|
|
AuthInfo get authInfo => _authInfo; |
|
|
|
AuthInfo get authInfo => _authInfo; |
|
|
|
List<InterviewCouponList> get interviewCouponList => _interviewCouponList; |
|
|
|
List<InterviewCouponList> get interviewCouponList => _interviewCouponList; |
|
|
|
List<NewUserCouponList> get newUserCouponList => _newUserCouponList; |
|
|
|
dynamic get newUserCouponList => _newUserCouponList; |
|
|
|
|
|
|
|
List<FirstLoginCouponList> get firstLoginCouponList => _firstLoginCouponList; |
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() { |
|
|
|
Map<String, dynamic> toJson() { |
|
|
|
final map = <String, dynamic>{}; |
|
|
|
final map = <String, dynamic>{}; |
|
|
@ -43,79 +49,80 @@ class LoginInfo { |
|
|
|
if (_interviewCouponList != null) { |
|
|
|
if (_interviewCouponList != null) { |
|
|
|
map['interviewCouponList'] = _interviewCouponList.map((v) => v.toJson()).toList(); |
|
|
|
map['interviewCouponList'] = _interviewCouponList.map((v) => v.toJson()).toList(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (_newUserCouponList != null) { |
|
|
|
map['newUserCouponList'] = _newUserCouponList; |
|
|
|
map['newUserCouponList'] = _newUserCouponList.map((v) => v.toJson()).toList(); |
|
|
|
if (_firstLoginCouponList != null) { |
|
|
|
|
|
|
|
map['firstLoginCouponList'] = _firstLoginCouponList.map((v) => v.toJson()).toList(); |
|
|
|
} |
|
|
|
} |
|
|
|
return map; |
|
|
|
return map; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// id : "1463398002331746304" |
|
|
|
/// id : "1484456566340976640" |
|
|
|
/// createTime : "2021-11-24 14:44:07" |
|
|
|
/// createTime : "2022-01-21 17:23:20" |
|
|
|
/// createUser : "1333246101196636160" |
|
|
|
/// createUser : "1333246101196636160" |
|
|
|
/// updateTime : "2021-11-24 14:44:07" |
|
|
|
/// updateTime : "2022-01-21 17:23:20" |
|
|
|
/// updateUser : "1333246101196636160" |
|
|
|
/// updateUser : "1333246101196636160" |
|
|
|
/// storeId : "0" |
|
|
|
/// storeId : "1333246101343436800" |
|
|
|
/// couponName : "满10-2" |
|
|
|
/// couponName : "新会员" |
|
|
|
/// bizType : 1 |
|
|
|
/// bizType : 1 |
|
|
|
/// allProduct : true |
|
|
|
/// allProduct : true |
|
|
|
/// productSkuId : [] |
|
|
|
/// productSkuId : [] |
|
|
|
/// fullAmount : "10.00" |
|
|
|
/// fullAmount : "14.00" |
|
|
|
/// discountAmount : "2.00" |
|
|
|
/// discountAmount : "7.00" |
|
|
|
/// fullNumber : 1 |
|
|
|
/// fullNumber : 1 |
|
|
|
/// discountPercent : 100 |
|
|
|
/// discountPercent : 100 |
|
|
|
/// sellPrice : "0.00" |
|
|
|
/// sellPrice : "0.00" |
|
|
|
/// sellCount : 0 |
|
|
|
/// sellCount : 0 |
|
|
|
/// bizId : "" |
|
|
|
/// bizId : "" |
|
|
|
/// publishStartTime : "2021-11-24 12:00:00" |
|
|
|
/// publishStartTime : "2022-01-01 00:00:00" |
|
|
|
/// publishEndTime : "2021-11-30 12:00:00" |
|
|
|
/// publishEndTime : "2022-01-31 00:00:00" |
|
|
|
/// useStartTime : "2021-11-24 12:00:00" |
|
|
|
/// useStartTime : "2022-01-01 00:00:00" |
|
|
|
/// useEndTime : "2021-11-30 12:00:00" |
|
|
|
/// useEndTime : "2022-02-01 00:00:00" |
|
|
|
/// promotionId : "0" |
|
|
|
/// promotionId : "0" |
|
|
|
/// dateOrDay : false |
|
|
|
/// dateOrDay : false |
|
|
|
/// startAfterDays : 0 |
|
|
|
/// startAfterDays : 0 |
|
|
|
/// daysValidate : 0 |
|
|
|
/// daysValidate : 0 |
|
|
|
/// businessType : 0 |
|
|
|
/// businessType : 0 |
|
|
|
/// centreDisplay : true |
|
|
|
/// centreDisplay : false |
|
|
|
/// tenantCode : "1175" |
|
|
|
/// tenantCode : "1175" |
|
|
|
/// isDelete : 0 |
|
|
|
/// isDelete : 0 |
|
|
|
/// storeName : "海峡姐妹奶茶店" |
|
|
|
/// storeName : "海峡姐妹茶(汉街店)" |
|
|
|
/// number : 1 |
|
|
|
/// number : 1 |
|
|
|
|
|
|
|
|
|
|
|
class NewUserCouponList { |
|
|
|
class FirstLoginCouponList { |
|
|
|
NewUserCouponList({ |
|
|
|
FirstLoginCouponList({ |
|
|
|
String id, |
|
|
|
String id, |
|
|
|
String createTime, |
|
|
|
String createTime, |
|
|
|
String createUser, |
|
|
|
String createUser, |
|
|
|
String updateTime, |
|
|
|
String updateTime, |
|
|
|
String updateUser, |
|
|
|
String updateUser, |
|
|
|
String storeId, |
|
|
|
String storeId, |
|
|
|
String couponName, |
|
|
|
String couponName, |
|
|
|
int bizType, |
|
|
|
int bizType, |
|
|
|
bool allProduct, |
|
|
|
bool allProduct, |
|
|
|
List<dynamic> productSkuId, |
|
|
|
List<dynamic> productSkuId, |
|
|
|
String fullAmount, |
|
|
|
String fullAmount, |
|
|
|
String discountAmount, |
|
|
|
String discountAmount, |
|
|
|
int fullNumber, |
|
|
|
int fullNumber, |
|
|
|
int discountPercent, |
|
|
|
int discountPercent, |
|
|
|
String sellPrice, |
|
|
|
String sellPrice, |
|
|
|
int sellCount, |
|
|
|
int sellCount, |
|
|
|
String bizId, |
|
|
|
String bizId, |
|
|
|
String publishStartTime, |
|
|
|
String publishStartTime, |
|
|
|
String publishEndTime, |
|
|
|
String publishEndTime, |
|
|
|
String useStartTime, |
|
|
|
String useStartTime, |
|
|
|
String useEndTime, |
|
|
|
String useEndTime, |
|
|
|
String promotionId, |
|
|
|
String promotionId, |
|
|
|
bool dateOrDay, |
|
|
|
bool dateOrDay, |
|
|
|
int startAfterDays, |
|
|
|
int startAfterDays, |
|
|
|
int daysValidate, |
|
|
|
int daysValidate, |
|
|
|
int businessType, |
|
|
|
int businessType, |
|
|
|
bool centreDisplay, |
|
|
|
bool centreDisplay, |
|
|
|
String tenantCode, |
|
|
|
String tenantCode, |
|
|
|
int isDelete, |
|
|
|
int isDelete, |
|
|
|
String storeName, |
|
|
|
String storeName, |
|
|
|
int number,}){ |
|
|
|
int number,}){ |
|
|
|
_id = id; |
|
|
|
_id = id; |
|
|
|
_createTime = createTime; |
|
|
|
_createTime = createTime; |
|
|
|
_createUser = createUser; |
|
|
|
_createUser = createUser; |
|
|
@ -147,9 +154,9 @@ class NewUserCouponList { |
|
|
|
_isDelete = isDelete; |
|
|
|
_isDelete = isDelete; |
|
|
|
_storeName = storeName; |
|
|
|
_storeName = storeName; |
|
|
|
_number = number; |
|
|
|
_number = number; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
NewUserCouponList.fromJson(dynamic json) { |
|
|
|
FirstLoginCouponList.fromJson(dynamic json) { |
|
|
|
_id = json['id']; |
|
|
|
_id = json['id']; |
|
|
|
_createTime = json['createTime']; |
|
|
|
_createTime = json['createTime']; |
|
|
|
_createUser = json['createUser']; |
|
|
|
_createUser = json['createUser']; |
|
|
@ -291,71 +298,71 @@ class NewUserCouponList { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// id : "1463398002331746304" |
|
|
|
/// id : "1478615682588344320" |
|
|
|
/// createTime : "2021-11-24 14:44:07" |
|
|
|
/// createTime : "2022-01-05 14:33:45" |
|
|
|
/// createUser : "1333246101196636160" |
|
|
|
/// createUser : "1333246101196636160" |
|
|
|
/// updateTime : "2021-11-24 14:44:07" |
|
|
|
/// updateTime : "2022-01-05 14:33:45" |
|
|
|
/// updateUser : "1333246101196636160" |
|
|
|
/// updateUser : "1333246101196636160" |
|
|
|
/// storeId : "0" |
|
|
|
/// storeId : "0" |
|
|
|
/// couponName : "满10-2" |
|
|
|
/// couponName : "新品10-5" |
|
|
|
/// bizType : 1 |
|
|
|
/// bizType : 1 |
|
|
|
/// allProduct : true |
|
|
|
/// allProduct : true |
|
|
|
/// productSkuId : [] |
|
|
|
/// productSkuId : [] |
|
|
|
/// fullAmount : "10.00" |
|
|
|
/// fullAmount : "10.00" |
|
|
|
/// discountAmount : "2.00" |
|
|
|
/// discountAmount : "5.00" |
|
|
|
/// fullNumber : 1 |
|
|
|
/// fullNumber : 1 |
|
|
|
/// discountPercent : 100 |
|
|
|
/// discountPercent : 100 |
|
|
|
/// sellPrice : "0.00" |
|
|
|
/// sellPrice : "0.00" |
|
|
|
/// sellCount : 0 |
|
|
|
/// sellCount : 0 |
|
|
|
/// bizId : "" |
|
|
|
/// bizId : "" |
|
|
|
/// publishStartTime : "2021-11-24 12:00:00" |
|
|
|
/// publishStartTime : "2022-01-01 00:00:00" |
|
|
|
/// publishEndTime : "2021-11-30 12:00:00" |
|
|
|
/// publishEndTime : "2022-01-31 00:00:00" |
|
|
|
/// useStartTime : "2021-11-24 12:00:00" |
|
|
|
/// useStartTime : "2022-01-02 00:00:00" |
|
|
|
/// useEndTime : "2021-11-30 12:00:00" |
|
|
|
/// useEndTime : "2022-01-30 00:00:00" |
|
|
|
/// promotionId : "0" |
|
|
|
/// promotionId : "0" |
|
|
|
/// dateOrDay : false |
|
|
|
/// dateOrDay : false |
|
|
|
/// startAfterDays : 0 |
|
|
|
/// startAfterDays : 0 |
|
|
|
/// daysValidate : 0 |
|
|
|
/// daysValidate : 0 |
|
|
|
/// businessType : 0 |
|
|
|
/// businessType : 0 |
|
|
|
/// centreDisplay : true |
|
|
|
/// centreDisplay : false |
|
|
|
/// tenantCode : "1175" |
|
|
|
/// tenantCode : "1175" |
|
|
|
/// isDelete : 0 |
|
|
|
/// isDelete : 0 |
|
|
|
/// storeName : "海峡姐妹奶茶店" |
|
|
|
/// storeName : "海峡姐妹茶" |
|
|
|
/// number : 1 |
|
|
|
/// number : 1 |
|
|
|
|
|
|
|
|
|
|
|
class InterviewCouponList { |
|
|
|
class InterviewCouponList { |
|
|
|
InterviewCouponList({ |
|
|
|
InterviewCouponList({ |
|
|
|
String id, |
|
|
|
String id, |
|
|
|
String createTime, |
|
|
|
String createTime, |
|
|
|
String createUser, |
|
|
|
String createUser, |
|
|
|
String updateTime, |
|
|
|
String updateTime, |
|
|
|
String updateUser, |
|
|
|
String updateUser, |
|
|
|
String storeId, |
|
|
|
String storeId, |
|
|
|
String couponName, |
|
|
|
String couponName, |
|
|
|
int bizType, |
|
|
|
int bizType, |
|
|
|
bool allProduct, |
|
|
|
bool allProduct, |
|
|
|
List<dynamic> productSkuId, |
|
|
|
List<dynamic> productSkuId, |
|
|
|
String fullAmount, |
|
|
|
String fullAmount, |
|
|
|
String discountAmount, |
|
|
|
String discountAmount, |
|
|
|
int fullNumber, |
|
|
|
int fullNumber, |
|
|
|
int discountPercent, |
|
|
|
int discountPercent, |
|
|
|
String sellPrice, |
|
|
|
String sellPrice, |
|
|
|
int sellCount, |
|
|
|
int sellCount, |
|
|
|
String bizId, |
|
|
|
String bizId, |
|
|
|
String publishStartTime, |
|
|
|
String publishStartTime, |
|
|
|
String publishEndTime, |
|
|
|
String publishEndTime, |
|
|
|
String useStartTime, |
|
|
|
String useStartTime, |
|
|
|
String useEndTime, |
|
|
|
String useEndTime, |
|
|
|
String promotionId, |
|
|
|
String promotionId, |
|
|
|
bool dateOrDay, |
|
|
|
bool dateOrDay, |
|
|
|
int startAfterDays, |
|
|
|
int startAfterDays, |
|
|
|
int daysValidate, |
|
|
|
int daysValidate, |
|
|
|
int businessType, |
|
|
|
int businessType, |
|
|
|
bool centreDisplay, |
|
|
|
bool centreDisplay, |
|
|
|
String tenantCode, |
|
|
|
String tenantCode, |
|
|
|
int isDelete, |
|
|
|
int isDelete, |
|
|
|
String storeName, |
|
|
|
String storeName, |
|
|
|
int number,}){ |
|
|
|
int number,}){ |
|
|
|
_id = id; |
|
|
|
_id = id; |
|
|
|
_createTime = createTime; |
|
|
|
_createTime = createTime; |
|
|
|
_createUser = createUser; |
|
|
|
_createUser = createUser; |
|
|
@ -387,7 +394,7 @@ class InterviewCouponList { |
|
|
|
_isDelete = isDelete; |
|
|
|
_isDelete = isDelete; |
|
|
|
_storeName = storeName; |
|
|
|
_storeName = storeName; |
|
|
|
_number = number; |
|
|
|
_number = number; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
InterviewCouponList.fromJson(dynamic json) { |
|
|
|
InterviewCouponList.fromJson(dynamic json) { |
|
|
|
_id = json['id']; |
|
|
|
_id = json['id']; |
|
|
@ -531,33 +538,33 @@ class InterviewCouponList { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// token : "eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX3R5cGUiOiJQTEFURk9STV9BUFAiLCJuYW1lIjoi5Zue5LmhXzg4ODg4OCIsInRva2VuX3R5cGUiOiJ0b2tlbiIsInVzZXJpZCI6IjE0NzA3MDI1OTIzMDM1NjI3NTIiLCJhY2NvdW50IjoiMTU2MTU2OTg3NDUiLCJleHAiOjE2NDIwNjk3OTksIm5iZiI6MTYzOTQ3Nzc5OX0.KHiw51SQ2RkARJhGKFTXgI7IrYXOhN-YqFZCwJ1jkEc" |
|
|
|
/// token : "eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX3R5cGUiOiJQTEFURk9STV9BUFAiLCJuYW1lIjoi5Zue5LmhXzg4ODg4OCIsInRva2VuX3R5cGUiOiJ0b2tlbiIsInVzZXJpZCI6IjE0ODQ0Nzc5NDQ4Mzg0ODgwNjQiLCJhY2NvdW50IjoiMTU0NDc4OTg3NTYiLCJleHAiOjE2NDUzNTQwOTksIm5iZiI6MTY0Mjc2MjA5OX0.dIGWaCR6uuJ4YcgTfEEeVGJtOmpAlLaxQ2sEnd_9_zw" |
|
|
|
/// tokenType : "token" |
|
|
|
/// tokenType : "token" |
|
|
|
/// refreshToken : "eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaF90b2tlbiIsInVzZXJpZCI6IjE0NzA3MDI1OTIzMDM1NjI3NTIiLCJleHAiOjE2NDIwNjk3OTksIm5iZiI6MTYzOTQ3Nzc5OX0.jjI0dTviahPq6p4J_tx_Sn-Fg-q51kE3WPpqdVcEIMw" |
|
|
|
/// refreshToken : "eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaF90b2tlbiIsInVzZXJpZCI6IjE0ODQ0Nzc5NDQ4Mzg0ODgwNjQiLCJleHAiOjE2NDUzNTQwOTksIm5iZiI6MTY0Mjc2MjA5OX0.ZrG-JCemN_HtFzE512311Tksh2o21ywgjHhhGeXXWrE" |
|
|
|
/// name : "回乡_888888" |
|
|
|
/// name : "回乡_888888" |
|
|
|
/// account : "15615698745" |
|
|
|
/// account : "15447898756" |
|
|
|
/// avatar : null |
|
|
|
/// avatar : null |
|
|
|
/// workDescribe : null |
|
|
|
/// workDescribe : null |
|
|
|
/// userId : "1470702592303562752" |
|
|
|
/// userId : "1484477944838488064" |
|
|
|
/// userType : "PLATFORM_APP" |
|
|
|
/// userType : "PLATFORM_APP" |
|
|
|
/// expire : "2592000" |
|
|
|
/// expire : "2592000" |
|
|
|
/// expiration : "2022-01-13 18:29:59" |
|
|
|
/// expiration : "2022-02-20 18:48:19" |
|
|
|
/// mobile : "15615698745" |
|
|
|
/// mobile : "15447898756" |
|
|
|
|
|
|
|
|
|
|
|
class AuthInfo { |
|
|
|
class AuthInfo { |
|
|
|
AuthInfo({ |
|
|
|
AuthInfo({ |
|
|
|
String token, |
|
|
|
String token, |
|
|
|
String tokenType, |
|
|
|
String tokenType, |
|
|
|
String refreshToken, |
|
|
|
String refreshToken, |
|
|
|
String name, |
|
|
|
String name, |
|
|
|
String account, |
|
|
|
String account, |
|
|
|
dynamic avatar, |
|
|
|
dynamic avatar, |
|
|
|
dynamic workDescribe, |
|
|
|
dynamic workDescribe, |
|
|
|
String userId, |
|
|
|
String userId, |
|
|
|
String userType, |
|
|
|
String userType, |
|
|
|
String expire, |
|
|
|
String expire, |
|
|
|
String expiration, |
|
|
|
String expiration, |
|
|
|
String mobile,}){ |
|
|
|
String mobile,}){ |
|
|
|
_token = token; |
|
|
|
_token = token; |
|
|
|
_tokenType = tokenType; |
|
|
|
_tokenType = tokenType; |
|
|
|
_refreshToken = refreshToken; |
|
|
|
_refreshToken = refreshToken; |
|
|
@ -570,7 +577,7 @@ class AuthInfo { |
|
|
|
_expire = expire; |
|
|
|
_expire = expire; |
|
|
|
_expiration = expiration; |
|
|
|
_expiration = expiration; |
|
|
|
_mobile = mobile; |
|
|
|
_mobile = mobile; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
AuthInfo.fromJson(dynamic json) { |
|
|
|
AuthInfo.fromJson(dynamic json) { |
|
|
|
_token = json['token']; |
|
|
|
_token = json['token']; |
|
|
|