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.

709 lines
36 KiB

/// pageNum : 1
/// pageSize : 10
/// size : 10
/// pages : 9
/// hasPreviousPage : false
/// hasNextPage : true
/// total : "89"
/// list : [{"id":"1724705264982032384","createTime":"2023-11-15 16:25:53","createUser":"1640233401329909760","updateTime":"2023-11-15 16:25:53","updateUser":"1640233401329909760","ticketId":"1724374425798705152","ticketCode":"T202311141831153237860001","ticketName":"四神汤 ","ticketItemIds":["1724374425903562752"],"finishTime":"2023-11-15 16:25:53","wipedUserId":"1640233401329909760","wipedUserName":"郑州小吃街","wipedStoreId":"0","isDelete":0,"tenantCode":"1195","ticket":{"id":"1724374425798705152","createTime":"2023-11-14 18:31:15","createUser":"0","updateTime":"2023-11-14 18:31:15","updateUser":"0","mid":"1379254113602109440","storeId":"1645318098540036096","orderId":"1724374364566061056","orderProductId":"1724374364817719296","productId":"1645714128276291584","productSkuId":"1645714128343400448","ticketWipedTimeTemplateId":"0","amount":"0.01","name":"四神汤 ","code":"T202311141831153237860001","useStartTime":"2023-11-14 00:00:00","useEndTime":"2023-12-13 18:31:15","finishTime":"2023-11-15 16:25:54","type":"NORMAL","source":null,"takeType":null,"style":"","state":9,"canSettlement":true,"canSubscribe":true,"isDelete":0,"tenantCode":"1195"},"ticketItems":[{"id":"1724374425903562752","createTime":"2023-11-14 18:31:15","createUser":"0","updateTime":"2023-11-14 18:31:15","updateUser":"0","ticketId":"1724374425798705152","relationType":"PRODUCT","relationId":"1645714128343400448","name":"测试规格222","showImage":"","state":9,"finishTime":"2023-11-15 16:25:53","isDelete":0,"tenantCode":"1195","canWipedNumber":1}],"userName":null,"userAvatar":null,"userPhone":null},{"id":"1724704390121521152","createTime":"2023-11-15 16:22:25","createUser":"1640233401329909760","updateTime":"2023-11-15 16:22:25","updateUser":"1640233401329909760","ticketId":"1724348609991802880","ticketCode":"T202311141648406370470003","ticketName":"台湾粽 ","ticketItemIds":["1724348610033745920"],"finishTime":"2023-11-15 16:22:25","wipedUserId":"1640233401329909760","wipedUserName":"郑州小吃街","wipedStoreId":"0","isDelete":0,"tenantCode":"1195","ticket":{"id":"1724348609991802880","createTime":"2023-11-14 16:48:40","createUser":"0","updateTime":"2023-11-14 16:48:40","updateUser":"0","mid":"1379254113602109440","storeId":"1645318098540036096","orderId":"1724348544648740864","orderProductId":"1724348544715849728","productId":"1645981572022665216","productSkuId":"1645981572102356992","ticketWipedTimeTemplateId":null,"amount":"10.00","name":"台湾粽 ","code":"T202311141648406370470003","useStartTime":"2023-11-14 00:00:00","useEndTime":"2023-12-13 16:48:40","finishTime":null,"type":"NORMAL","source":null,"takeType":null,"style":"","state":2,"canSettlement":true,"canSubscribe":true,"isDelete":0,"tenantCode":"1195"},"ticketItems":[{"id":"1724348610033745920","createTime":"2023-11-14 16:48:40","createUser":"0","updateTime":"2023-11-14 16:48:40","updateUser":"0","ticketId":"1724348609991802880","relationType":"PRODUCT","relationId":"1645981572102356992","name":"测试票券项目22","showImage":"","state":9,"finishTime":"2023-11-15 16:22:25","isDelete":0,"tenantCode":"1195","canWipedNumber":1}],"userName":null,"userAvatar":null,"userPhone":null},{"id":"1724704299910430720","createTime":"2023-11-15 16:22:03","createUser":"1640233401329909760","updateTime":"2023-11-15 16:22:03","updateUser":"1640233401329909760","ticketId":"1724348609991802880","ticketCode":"T202311141648406370470003","ticketName":"台湾粽 ","ticketItemIds":["1724348610037940224"],"finishTime":"2023-11-15 16:22:03","wipedUserId":"1640233401329909760","wipedUserName":"郑州小吃街","wipedStoreId":"0","isDelete":0,"tenantCode":"1195","ticket":{"id":"1724348609991802880","createTime":"2023-11-14 16:48:40","createUser":"0","updateTime":"2023-11-14 16:48:40","updateUser":"0","mid":"1379254113602109440","storeId":"1645318098540036096","orderId":"1724348544648740864","orderProductId":"1724348544715849728","productId":"1645981572022665216","productSkuId":"1645981572102356992","ticketWipedTimeTemplateId":null,"amount":"10.00","name":"台湾粽 ","code":"T202311141648406370470003
class TicketRecord {
TicketRecord({
num pageNum,
num pageSize,
num size,
num pages,
bool hasPreviousPage,
bool hasNextPage,
String total,
List<TicketRecordList> list,}){
_pageNum = pageNum;
_pageSize = pageSize;
_size = size;
_pages = pages;
_hasPreviousPage = hasPreviousPage;
_hasNextPage = hasNextPage;
_total = total;
_list = list;
}
TicketRecord.fromJson(dynamic json) {
_pageNum = json['pageNum'];
_pageSize = json['pageSize'];
_size = json['size'];
_pages = json['pages'];
_hasPreviousPage = json['hasPreviousPage'];
_hasNextPage = json['hasNextPage'];
_total = json['total'];
if (json['list'] != null) {
_list = [];
json['list'].forEach((v) {
_list.add(TicketRecordList.fromJson(v));
});
}
}
num _pageNum;
num _pageSize;
num _size;
num _pages;
bool _hasPreviousPage;
bool _hasNextPage;
String _total;
List<TicketRecordList> _list;
TicketRecord copyWith({ num pageNum,
num pageSize,
num size,
num pages,
bool hasPreviousPage,
bool hasNextPage,
String total,
List<TicketRecordList> list,
}) => TicketRecord( pageNum: pageNum ?? _pageNum,
pageSize: pageSize ?? _pageSize,
size: size ?? _size,
pages: pages ?? _pages,
hasPreviousPage: hasPreviousPage ?? _hasPreviousPage,
hasNextPage: hasNextPage ?? _hasNextPage,
total: total ?? _total,
list: list ?? _list,
);
num get pageNum => _pageNum;
num get pageSize => _pageSize;
num get size => _size;
num get pages => _pages;
bool get hasPreviousPage => _hasPreviousPage;
bool get hasNextPage => _hasNextPage;
String get total => _total;
List<TicketRecordList> get list => _list;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['pageNum'] = _pageNum;
map['pageSize'] = _pageSize;
map['size'] = _size;
map['pages'] = _pages;
map['hasPreviousPage'] = _hasPreviousPage;
map['hasNextPage'] = _hasNextPage;
map['total'] = _total;
if (_list != null) {
map['list'] = _list.map((v) => v.toJson()).toList();
}
return map;
}
}
/// id : "1724705264982032384"
/// createTime : "2023-11-15 16:25:53"
/// createUser : "1640233401329909760"
/// updateTime : "2023-11-15 16:25:53"
/// updateUser : "1640233401329909760"
/// ticketId : "1724374425798705152"
/// ticketCode : "T202311141831153237860001"
/// ticketName : "四神汤 "
/// ticketItemIds : ["1724374425903562752"]
/// finishTime : "2023-11-15 16:25:53"
/// wipedUserId : "1640233401329909760"
/// wipedUserName : "郑州小吃街"
/// wipedStoreId : "0"
/// isDelete : 0
/// tenantCode : "1195"
/// ticket : {"id":"1724374425798705152","createTime":"2023-11-14 18:31:15","createUser":"0","updateTime":"2023-11-14 18:31:15","updateUser":"0","mid":"1379254113602109440","storeId":"1645318098540036096","orderId":"1724374364566061056","orderProductId":"1724374364817719296","productId":"1645714128276291584","productSkuId":"1645714128343400448","ticketWipedTimeTemplateId":"0","amount":"0.01","name":"四神汤 ","code":"T202311141831153237860001","useStartTime":"2023-11-14 00:00:00","useEndTime":"2023-12-13 18:31:15","finishTime":"2023-11-15 16:25:54","type":"NORMAL","source":null,"takeType":null,"style":"","state":9,"canSettlement":true,"canSubscribe":true,"isDelete":0,"tenantCode":"1195"}
/// ticketItems : [{"id":"1724374425903562752","createTime":"2023-11-14 18:31:15","createUser":"0","updateTime":"2023-11-14 18:31:15","updateUser":"0","ticketId":"1724374425798705152","relationType":"PRODUCT","relationId":"1645714128343400448","name":"测试规格222","showImage":"","state":9,"finishTime":"2023-11-15 16:25:53","isDelete":0,"tenantCode":"1195","canWipedNumber":1}]
/// userName : null
/// userAvatar : null
/// userPhone : null
class TicketRecordList {
TicketRecordList({
String id,
String createTime,
String createUser,
String updateTime,
String updateUser,
String ticketId,
String ticketCode,
String ticketName,
List<String> ticketItemIds,
String finishTime,
String wipedUserId,
String wipedUserName,
String wipedStoreId,
num isDelete,
String tenantCode,
Ticket ticket,
List<TicketItems> ticketItems,
dynamic userName,
dynamic userAvatar,
dynamic userPhone,}){
_id = id;
_createTime = createTime;
_createUser = createUser;
_updateTime = updateTime;
_updateUser = updateUser;
_ticketId = ticketId;
_ticketCode = ticketCode;
_ticketName = ticketName;
_ticketItemIds = ticketItemIds;
_finishTime = finishTime;
_wipedUserId = wipedUserId;
_wipedUserName = wipedUserName;
_wipedStoreId = wipedStoreId;
_isDelete = isDelete;
_tenantCode = tenantCode;
_ticket = ticket;
_ticketItems = ticketItems;
_userName = userName;
_userAvatar = userAvatar;
_userPhone = userPhone;
}
TicketRecordList.fromJson(dynamic json) {
_id = json['id'];
_createTime = json['createTime'];
_createUser = json['createUser'];
_updateTime = json['updateTime'];
_updateUser = json['updateUser'];
_ticketId = json['ticketId'];
_ticketCode = json['ticketCode'];
_ticketName = json['ticketName'];
_ticketItemIds = json['ticketItemIds'] != null ? json['ticketItemIds'].cast<String>() : [];
_finishTime = json['finishTime'];
_wipedUserId = json['wipedUserId'];
_wipedUserName = json['wipedUserName'];
_wipedStoreId = json['wipedStoreId'];
_isDelete = json['isDelete'];
_tenantCode = json['tenantCode'];
_ticket = json['ticket'] != null ? Ticket.fromJson(json['ticket']) : null;
if (json['ticketItems'] != null) {
_ticketItems = [];
json['ticketItems'].forEach((v) {
_ticketItems.add(TicketItems.fromJson(v));
});
}
_userName = json['userName'];
_userAvatar = json['userAvatar'];
_userPhone = json['userPhone'];
}
String _id;
String _createTime;
String _createUser;
String _updateTime;
String _updateUser;
String _ticketId;
String _ticketCode;
String _ticketName;
List<String> _ticketItemIds;
String _finishTime;
String _wipedUserId;
String _wipedUserName;
String _wipedStoreId;
num _isDelete;
String _tenantCode;
Ticket _ticket;
List<TicketItems> _ticketItems;
dynamic _userName;
dynamic _userAvatar;
dynamic _userPhone;
TicketRecordList copyWith({ String id,
String createTime,
String createUser,
String updateTime,
String updateUser,
String ticketId,
String ticketCode,
String ticketName,
List<String> ticketItemIds,
String finishTime,
String wipedUserId,
String wipedUserName,
String wipedStoreId,
num isDelete,
String tenantCode,
Ticket ticket,
List<TicketItems> ticketItems,
dynamic userName,
dynamic userAvatar,
dynamic userPhone,
}) => TicketRecordList( id: id ?? _id,
createTime: createTime ?? _createTime,
createUser: createUser ?? _createUser,
updateTime: updateTime ?? _updateTime,
updateUser: updateUser ?? _updateUser,
ticketId: ticketId ?? _ticketId,
ticketCode: ticketCode ?? _ticketCode,
ticketName: ticketName ?? _ticketName,
ticketItemIds: ticketItemIds ?? _ticketItemIds,
finishTime: finishTime ?? _finishTime,
wipedUserId: wipedUserId ?? _wipedUserId,
wipedUserName: wipedUserName ?? _wipedUserName,
wipedStoreId: wipedStoreId ?? _wipedStoreId,
isDelete: isDelete ?? _isDelete,
tenantCode: tenantCode ?? _tenantCode,
ticket: ticket ?? _ticket,
ticketItems: ticketItems ?? _ticketItems,
userName: userName ?? _userName,
userAvatar: userAvatar ?? _userAvatar,
userPhone: userPhone ?? _userPhone,
);
String get id => _id;
String get createTime => _createTime;
String get createUser => _createUser;
String get updateTime => _updateTime;
String get updateUser => _updateUser;
String get ticketId => _ticketId;
String get ticketCode => _ticketCode;
String get ticketName => _ticketName;
List<String> get ticketItemIds => _ticketItemIds;
String get finishTime => _finishTime;
String get wipedUserId => _wipedUserId;
String get wipedUserName => _wipedUserName;
String get wipedStoreId => _wipedStoreId;
num get isDelete => _isDelete;
String get tenantCode => _tenantCode;
Ticket get ticket => _ticket;
List<TicketItems> get ticketItems => _ticketItems;
dynamic get userName => _userName;
dynamic get userAvatar => _userAvatar;
dynamic get userPhone => _userPhone;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['id'] = _id;
map['createTime'] = _createTime;
map['createUser'] = _createUser;
map['updateTime'] = _updateTime;
map['updateUser'] = _updateUser;
map['ticketId'] = _ticketId;
map['ticketCode'] = _ticketCode;
map['ticketName'] = _ticketName;
map['ticketItemIds'] = _ticketItemIds;
map['finishTime'] = _finishTime;
map['wipedUserId'] = _wipedUserId;
map['wipedUserName'] = _wipedUserName;
map['wipedStoreId'] = _wipedStoreId;
map['isDelete'] = _isDelete;
map['tenantCode'] = _tenantCode;
if (_ticket != null) {
map['ticket'] = _ticket.toJson();
}
if (_ticketItems != null) {
map['ticketItems'] = _ticketItems.map((v) => v.toJson()).toList();
}
map['userName'] = _userName;
map['userAvatar'] = _userAvatar;
map['userPhone'] = _userPhone;
return map;
}
}
/// id : "1724374425903562752"
/// createTime : "2023-11-14 18:31:15"
/// createUser : "0"
/// updateTime : "2023-11-14 18:31:15"
/// updateUser : "0"
/// ticketId : "1724374425798705152"
/// relationType : "PRODUCT"
/// relationId : "1645714128343400448"
/// name : "测试规格222"
/// showImage : ""
/// state : 9
/// finishTime : "2023-11-15 16:25:53"
/// isDelete : 0
/// tenantCode : "1195"
/// canWipedNumber : 1
class TicketItems {
TicketItems({
String id,
String createTime,
String createUser,
String updateTime,
String updateUser,
String ticketId,
String relationType,
String relationId,
String name,
String showImage,
num state,
String finishTime,
num isDelete,
String tenantCode,
num canWipedNumber,}){
_id = id;
_createTime = createTime;
_createUser = createUser;
_updateTime = updateTime;
_updateUser = updateUser;
_ticketId = ticketId;
_relationType = relationType;
_relationId = relationId;
_name = name;
_showImage = showImage;
_state = state;
_finishTime = finishTime;
_isDelete = isDelete;
_tenantCode = tenantCode;
_canWipedNumber = canWipedNumber;
}
TicketItems.fromJson(dynamic json) {
_id = json['id'];
_createTime = json['createTime'];
_createUser = json['createUser'];
_updateTime = json['updateTime'];
_updateUser = json['updateUser'];
_ticketId = json['ticketId'];
_relationType = json['relationType'];
_relationId = json['relationId'];
_name = json['name'];
_showImage = json['showImage'];
_state = json['state'];
_finishTime = json['finishTime'];
_isDelete = json['isDelete'];
_tenantCode = json['tenantCode'];
_canWipedNumber = json['canWipedNumber'];
}
String _id;
String _createTime;
String _createUser;
String _updateTime;
String _updateUser;
String _ticketId;
String _relationType;
String _relationId;
String _name;
String _showImage;
num _state;
String _finishTime;
num _isDelete;
String _tenantCode;
num _canWipedNumber;
TicketItems copyWith({ String id,
String createTime,
String createUser,
String updateTime,
String updateUser,
String ticketId,
String relationType,
String relationId,
String name,
String showImage,
num state,
String finishTime,
num isDelete,
String tenantCode,
num canWipedNumber,
}) => TicketItems( id: id ?? _id,
createTime: createTime ?? _createTime,
createUser: createUser ?? _createUser,
updateTime: updateTime ?? _updateTime,
updateUser: updateUser ?? _updateUser,
ticketId: ticketId ?? _ticketId,
relationType: relationType ?? _relationType,
relationId: relationId ?? _relationId,
name: name ?? _name,
showImage: showImage ?? _showImage,
state: state ?? _state,
finishTime: finishTime ?? _finishTime,
isDelete: isDelete ?? _isDelete,
tenantCode: tenantCode ?? _tenantCode,
canWipedNumber: canWipedNumber ?? _canWipedNumber,
);
String get id => _id;
String get createTime => _createTime;
String get createUser => _createUser;
String get updateTime => _updateTime;
String get updateUser => _updateUser;
String get ticketId => _ticketId;
String get relationType => _relationType;
String get relationId => _relationId;
String get name => _name;
String get showImage => _showImage;
num get state => _state;
String get finishTime => _finishTime;
num get isDelete => _isDelete;
String get tenantCode => _tenantCode;
num get canWipedNumber => _canWipedNumber;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['id'] = _id;
map['createTime'] = _createTime;
map['createUser'] = _createUser;
map['updateTime'] = _updateTime;
map['updateUser'] = _updateUser;
map['ticketId'] = _ticketId;
map['relationType'] = _relationType;
map['relationId'] = _relationId;
map['name'] = _name;
map['showImage'] = _showImage;
map['state'] = _state;
map['finishTime'] = _finishTime;
map['isDelete'] = _isDelete;
map['tenantCode'] = _tenantCode;
map['canWipedNumber'] = _canWipedNumber;
return map;
}
}
/// id : "1724374425798705152"
/// createTime : "2023-11-14 18:31:15"
/// createUser : "0"
/// updateTime : "2023-11-14 18:31:15"
/// updateUser : "0"
/// mid : "1379254113602109440"
/// storeId : "1645318098540036096"
/// orderId : "1724374364566061056"
/// orderProductId : "1724374364817719296"
/// productId : "1645714128276291584"
/// productSkuId : "1645714128343400448"
/// ticketWipedTimeTemplateId : "0"
/// amount : "0.01"
/// name : "四神汤 "
/// code : "T202311141831153237860001"
/// useStartTime : "2023-11-14 00:00:00"
/// useEndTime : "2023-12-13 18:31:15"
/// finishTime : "2023-11-15 16:25:54"
/// type : "NORMAL"
/// source : null
/// takeType : null
/// style : ""
/// state : 9
/// canSettlement : true
/// canSubscribe : true
/// isDelete : 0
/// tenantCode : "1195"
class Ticket {
Ticket({
String id,
String createTime,
String createUser,
String updateTime,
String updateUser,
String mid,
String storeId,
String orderId,
String orderProductId,
String productId,
String productSkuId,
String ticketWipedTimeTemplateId,
String amount,
String name,
String code,
String useStartTime,
String useEndTime,
String finishTime,
String type,
dynamic source,
dynamic takeType,
String style,
num state,
bool canSettlement,
bool canSubscribe,
num isDelete,
String tenantCode,}){
_id = id;
_createTime = createTime;
_createUser = createUser;
_updateTime = updateTime;
_updateUser = updateUser;
_mid = mid;
_storeId = storeId;
_orderId = orderId;
_orderProductId = orderProductId;
_productId = productId;
_productSkuId = productSkuId;
_ticketWipedTimeTemplateId = ticketWipedTimeTemplateId;
_amount = amount;
_name = name;
_code = code;
_useStartTime = useStartTime;
_useEndTime = useEndTime;
_finishTime = finishTime;
_type = type;
_source = source;
_takeType = takeType;
_style = style;
_state = state;
_canSettlement = canSettlement;
_canSubscribe = canSubscribe;
_isDelete = isDelete;
_tenantCode = tenantCode;
}
Ticket.fromJson(dynamic json) {
_id = json['id'];
_createTime = json['createTime'];
_createUser = json['createUser'];
_updateTime = json['updateTime'];
_updateUser = json['updateUser'];
_mid = json['mid'];
_storeId = json['storeId'];
_orderId = json['orderId'];
_orderProductId = json['orderProductId'];
_productId = json['productId'];
_productSkuId = json['productSkuId'];
_ticketWipedTimeTemplateId = json['ticketWipedTimeTemplateId'];
_amount = json['amount'];
_name = json['name'];
_code = json['code'];
_useStartTime = json['useStartTime'];
_useEndTime = json['useEndTime'];
_finishTime = json['finishTime'];
_type = json['type'];
_source = json['source'];
_takeType = json['takeType'];
_style = json['style'];
_state = json['state'];
_canSettlement = json['canSettlement'];
_canSubscribe = json['canSubscribe'];
_isDelete = json['isDelete'];
_tenantCode = json['tenantCode'];
}
String _id;
String _createTime;
String _createUser;
String _updateTime;
String _updateUser;
String _mid;
String _storeId;
String _orderId;
String _orderProductId;
String _productId;
String _productSkuId;
String _ticketWipedTimeTemplateId;
String _amount;
String _name;
String _code;
String _useStartTime;
String _useEndTime;
String _finishTime;
String _type;
dynamic _source;
dynamic _takeType;
String _style;
num _state;
bool _canSettlement;
bool _canSubscribe;
num _isDelete;
String _tenantCode;
Ticket copyWith({ String id,
String createTime,
String createUser,
String updateTime,
String updateUser,
String mid,
String storeId,
String orderId,
String orderProductId,
String productId,
String productSkuId,
String ticketWipedTimeTemplateId,
String amount,
String name,
String code,
String useStartTime,
String useEndTime,
String finishTime,
String type,
dynamic source,
dynamic takeType,
String style,
num state,
bool canSettlement,
bool canSubscribe,
num isDelete,
String tenantCode,
}) => Ticket( id: id ?? _id,
createTime: createTime ?? _createTime,
createUser: createUser ?? _createUser,
updateTime: updateTime ?? _updateTime,
updateUser: updateUser ?? _updateUser,
mid: mid ?? _mid,
storeId: storeId ?? _storeId,
orderId: orderId ?? _orderId,
orderProductId: orderProductId ?? _orderProductId,
productId: productId ?? _productId,
productSkuId: productSkuId ?? _productSkuId,
ticketWipedTimeTemplateId: ticketWipedTimeTemplateId ?? _ticketWipedTimeTemplateId,
amount: amount ?? _amount,
name: name ?? _name,
code: code ?? _code,
useStartTime: useStartTime ?? _useStartTime,
useEndTime: useEndTime ?? _useEndTime,
finishTime: finishTime ?? _finishTime,
type: type ?? _type,
source: source ?? _source,
takeType: takeType ?? _takeType,
style: style ?? _style,
state: state ?? _state,
canSettlement: canSettlement ?? _canSettlement,
canSubscribe: canSubscribe ?? _canSubscribe,
isDelete: isDelete ?? _isDelete,
tenantCode: tenantCode ?? _tenantCode,
);
String get id => _id;
String get createTime => _createTime;
String get createUser => _createUser;
String get updateTime => _updateTime;
String get updateUser => _updateUser;
String get mid => _mid;
String get storeId => _storeId;
String get orderId => _orderId;
String get orderProductId => _orderProductId;
String get productId => _productId;
String get productSkuId => _productSkuId;
String get ticketWipedTimeTemplateId => _ticketWipedTimeTemplateId;
String get amount => _amount;
String get name => _name;
String get code => _code;
String get useStartTime => _useStartTime;
String get useEndTime => _useEndTime;
String get finishTime => _finishTime;
String get type => _type;
dynamic get source => _source;
dynamic get takeType => _takeType;
String get style => _style;
num get state => _state;
bool get canSettlement => _canSettlement;
bool get canSubscribe => _canSubscribe;
num get isDelete => _isDelete;
String get tenantCode => _tenantCode;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['id'] = _id;
map['createTime'] = _createTime;
map['createUser'] = _createUser;
map['updateTime'] = _updateTime;
map['updateUser'] = _updateUser;
map['mid'] = _mid;
map['storeId'] = _storeId;
map['orderId'] = _orderId;
map['orderProductId'] = _orderProductId;
map['productId'] = _productId;
map['productSkuId'] = _productSkuId;
map['ticketWipedTimeTemplateId'] = _ticketWipedTimeTemplateId;
map['amount'] = _amount;
map['name'] = _name;
map['code'] = _code;
map['useStartTime'] = _useStartTime;
map['useEndTime'] = _useEndTime;
map['finishTime'] = _finishTime;
map['type'] = _type;
map['source'] = _source;
map['takeType'] = _takeType;
map['style'] = _style;
map['state'] = _state;
map['canSettlement'] = _canSettlement;
map['canSubscribe'] = _canSubscribe;
map['isDelete'] = _isDelete;
map['tenantCode'] = _tenantCode;
return map;
}
}