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.
 
 
 
 
 
 

385 lines
16 KiB

/// records : [{"id":"1823231566596276224","createTime":"2024-08-13 13:34:14","createUser":"1379254113602109440","updateTime":"2024-08-13 13:34:14","updateUser":"1379254113602109440","phone":"","receivingPhone":"13052919193","mid":"1379254113602109440","orderIds":["1816764013200015360"],"money":"2.00","type":"ELECTRONIC","headerId":"1818128371540819968","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"彗星","invoiceHeaderCode":"123568986457","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null},{"id":"1820730457528991744","createTime":"2024-08-06 15:55:43","createUser":"1379254113602109440","updateTime":"2024-08-06 15:55:43","updateUser":"1379254113602109440","phone":"","receivingPhone":"13052919193","mid":"1379254113602109440","orderIds":["1816724620737249280"],"money":"0.02","type":"ELECTRONIC","headerId":"1818128371540819968","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"彗星","invoiceHeaderCode":"123568986457","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null},{"id":"1820730164074512384","createTime":"2024-08-06 15:54:33","createUser":"1379254113602109440","updateTime":"2024-08-06 15:54:33","updateUser":"1379254113602109440","phone":"","receivingPhone":"13052919193","mid":"1379254113602109440","orderIds":["1816724573748461568"],"money":"0.01","type":"ELECTRONIC","headerId":"1818128371540819968","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"彗星","invoiceHeaderCode":"123568986457","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null},{"id":"1818128393347006464","createTime":"2024-07-30 11:36:03","createUser":"1379254113602109440","updateTime":"2024-07-30 11:36:03","updateUser":"1379254113602109440","phone":"","receivingPhone":"13052919193","mid":"1379254113602109440","orderIds":["1816763957935865856"],"money":"1.00","type":"ELECTRONIC","headerId":"1818128371540819968","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"彗星","invoiceHeaderCode":"123568986457","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null},{"id":"1816688308449705984","createTime":"2024-07-26 12:13:40","createUser":"1379254113602109440","updateTime":"2024-07-26 12:13:40","updateUser":"1379254113602109440","phone":"","receivingPhone":"UI","mid":"1379254113602109440","orderIds":["1816406896014262272"],"money":"0.14","type":"ELECTRONIC","headerId":"1816688003569942528","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"顾好","invoiceHeaderCode":"","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null},{"id":"1816683371409965056","createTime":"2024-07-26 11:54:03","createUser":"1379254113602109440","updateTime":"2024-07-26 11:54:03","updateUser":"1379254113602109440","phone":"12547896","receivingPhone":"13052919193","mid":"1379254113602109440","orderIds":["1816406781086138368"],"money":"0.11","type":"ELECTRONIC","headerId":"1816683354544668672","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"华夏","invoiceHeaderCode":"22336559955","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null},{"id":"1816681820477980672","createTime":"2024-07-26 11:47:53","createUser":"1379254113602109440","updateTime":"2024-07-26 11:47:53","updateUser":"1379254113602109440","phone":"","receivingPhone":"13052919193","mid":"1379254113602109440","orderIds":["1816681463005839360","1816681276996845568"],"money":"0.25","type":"ELECTRONIC","headerId":"1816681805231685632","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"呜呜","invoiceHeaderCode":"","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null},{"id":"1816664893273669632","createTime":"2024-07-26 10:40:37","createUser":"1379254113602109440","updateTime":"2024-07-26 10:40:37","updateUser":"1379254113602109440","phone":"13864536699","receivingPhone":"13052919193","mid":"1379254113602109440","orderIds":["1816298665912827904"],"money":"0.01","type":"ELECTRONIC","headerId":"1816663221906440192","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"回血","invoiceHeaderCode":"1325566645499","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null},{"id":"1816664648762523648","createTime":"2024-07-26 10:39:39","createUser":"1379254113602109440","updateTime":"2024-07-26 10:39:39","updateUser":"1379254113602109440","phone":"13864536699","receivingPhone":"13052919193","mid":"1379254113602109440","orderIds":["1816028241291378688"],"money":"0.01","type":"ELECTRONIC","headerId":"1816663221906440192","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"回血","invoiceHeaderCode":"1325566645499","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null},{"id":"1816664088302845952","createTime":"2024-07-26 10:37:25","createUser":"1379254113602109440","updateTime":"2024-07-26 10:37:25","updateUser":"1379254113602109440","phone":"13864536699","receivingPhone":"13052919193","mid":"1379254113602109440","orderIds":["1816409113630867456","1816406953434284032","1816406830440513536"],"money":"0.32","type":"ELECTRONIC","headerId":"1816663221906440192","state":"UN_AUDIT","reviewerTime":null,"reviewerBy":"0","ossUrl":null,"reason":"","isDelete":0,"invoiceHeaderName":"回血","invoiceHeaderCode":"1325566645499","orderList":null,"headertype":null,"companyAddr":null,"companyPhone":null,"bank":null,"bankNumber":null}]
/// total : "14"
/// size : "10"
/// current : "1"
/// orders : [{"column":"id","asc":false}]
/// hitCount : false
/// searchCount : true
/// pages : "2"
class InvoicesHistoryList {
InvoicesHistoryList({
List<Records>? records,
String? total,
String? size,
String? current,
List<Orders>? orders,
bool? hitCount,
bool? searchCount,
String? pages,}){
_records = records;
_total = total;
_size = size;
_current = current;
_orders = orders;
_hitCount = hitCount;
_searchCount = searchCount;
_pages = pages;
}
InvoicesHistoryList.fromJson(dynamic json) {
if (json['records'] != null) {
_records = [];
json['records'].forEach((v) {
_records?.add(Records.fromJson(v));
});
}
_total = json['total'];
_size = json['size'];
_current = json['current'];
if (json['orders'] != null) {
_orders = [];
json['orders'].forEach((v) {
_orders?.add(Orders.fromJson(v));
});
}
_hitCount = json['hitCount'];
_searchCount = json['searchCount'];
_pages = json['pages'];
}
List<Records>? _records;
String? _total;
String? _size;
String? _current;
List<Orders>? _orders;
bool? _hitCount;
bool? _searchCount;
String? _pages;
InvoicesHistoryList copyWith({ List<Records>? records,
String? total,
String? size,
String? current,
List<Orders>? orders,
bool? hitCount,
bool? searchCount,
String? pages,
}) => InvoicesHistoryList( records: records ?? _records,
total: total ?? _total,
size: size ?? _size,
current: current ?? _current,
orders: orders ?? _orders,
hitCount: hitCount ?? _hitCount,
searchCount: searchCount ?? _searchCount,
pages: pages ?? _pages,
);
List<Records>? get records => _records;
String? get total => _total;
String? get size => _size;
String? get current => _current;
List<Orders>? get orders => _orders;
bool? get hitCount => _hitCount;
bool? get searchCount => _searchCount;
String? get pages => _pages;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
if (_records != null) {
map['records'] = _records?.map((v) => v.toJson()).toList();
}
map['total'] = _total;
map['size'] = _size;
map['current'] = _current;
if (_orders != null) {
map['orders'] = _orders?.map((v) => v.toJson()).toList();
}
map['hitCount'] = _hitCount;
map['searchCount'] = _searchCount;
map['pages'] = _pages;
return map;
}
}
/// column : "id"
/// asc : false
class Orders {
Orders({
String? column,
bool? asc,}){
_column = column;
_asc = asc;
}
Orders.fromJson(dynamic json) {
_column = json['column'];
_asc = json['asc'];
}
String? _column;
bool? _asc;
Orders copyWith({ String? column,
bool? asc,
}) => Orders( column: column ?? _column,
asc: asc ?? _asc,
);
String? get column => _column;
bool? get asc => _asc;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['column'] = _column;
map['asc'] = _asc;
return map;
}
}
/// id : "1823231566596276224"
/// createTime : "2024-08-13 13:34:14"
/// createUser : "1379254113602109440"
/// updateTime : "2024-08-13 13:34:14"
/// updateUser : "1379254113602109440"
/// phone : ""
/// receivingPhone : "13052919193"
/// mid : "1379254113602109440"
/// orderIds : ["1816764013200015360"]
/// money : "2.00"
/// type : "ELECTRONIC"
/// headerId : "1818128371540819968"
/// state : "UN_AUDIT"
/// reviewerTime : null
/// reviewerBy : "0"
/// ossUrl : null
/// reason : ""
/// isDelete : 0
/// invoiceHeaderName : "彗星"
/// invoiceHeaderCode : "123568986457"
/// orderList : null
/// headertype : null
/// companyAddr : null
/// companyPhone : null
/// bank : null
/// bankNumber : null
class Records {
Records({
String? id,
String? createTime,
String? createUser,
String? updateTime,
String? updateUser,
String? phone,
String? receivingPhone,
String? mid,
List<String>? orderIds,
String? money,
String? type,
String? headerId,
String? state,
dynamic reviewerTime,
String? reviewerBy,
dynamic ossUrl,
String? reason,
num? isDelete,
String? invoiceHeaderName,
String? invoiceHeaderCode,
dynamic orderList,
dynamic headertype,
dynamic companyAddr,
dynamic companyPhone,
dynamic bank,
dynamic bankNumber,}){
_id = id;
_createTime = createTime;
_createUser = createUser;
_updateTime = updateTime;
_updateUser = updateUser;
_phone = phone;
_receivingPhone = receivingPhone;
_mid = mid;
_orderIds = orderIds;
_money = money;
_type = type;
_headerId = headerId;
_state = state;
_reviewerTime = reviewerTime;
_reviewerBy = reviewerBy;
_ossUrl = ossUrl;
_reason = reason;
_isDelete = isDelete;
_invoiceHeaderName = invoiceHeaderName;
_invoiceHeaderCode = invoiceHeaderCode;
_orderList = orderList;
_headertype = headertype;
_companyAddr = companyAddr;
_companyPhone = companyPhone;
_bank = bank;
_bankNumber = bankNumber;
}
Records.fromJson(dynamic json) {
_id = json['id'];
_createTime = json['createTime'];
_createUser = json['createUser'];
_updateTime = json['updateTime'];
_updateUser = json['updateUser'];
_phone = json['phone'];
_receivingPhone = json['receivingPhone'];
_mid = json['mid'];
_orderIds = json['orderIds'] != null ? json['orderIds'].cast<String>() : [];
_money = json['money'];
_type = json['type'];
_headerId = json['headerId'];
_state = json['state'];
_reviewerTime = json['reviewerTime'];
_reviewerBy = json['reviewerBy'];
_ossUrl = json['ossUrl'];
_reason = json['reason'];
_isDelete = json['isDelete'];
_invoiceHeaderName = json['invoiceHeaderName'];
_invoiceHeaderCode = json['invoiceHeaderCode'];
_orderList = json['orderList'];
_headertype = json['headertype'];
_companyAddr = json['companyAddr'];
_companyPhone = json['companyPhone'];
_bank = json['bank'];
_bankNumber = json['bankNumber'];
}
String? _id;
String? _createTime;
String? _createUser;
String? _updateTime;
String? _updateUser;
String? _phone;
String? _receivingPhone;
String? _mid;
List<String>? _orderIds;
String? _money;
String? _type;
String? _headerId;
String? _state;
dynamic _reviewerTime;
String? _reviewerBy;
dynamic _ossUrl;
String? _reason;
num? _isDelete;
String? _invoiceHeaderName;
String? _invoiceHeaderCode;
dynamic _orderList;
dynamic _headertype;
dynamic _companyAddr;
dynamic _companyPhone;
dynamic _bank;
dynamic _bankNumber;
Records copyWith({ String? id,
String? createTime,
String? createUser,
String? updateTime,
String? updateUser,
String? phone,
String? receivingPhone,
String? mid,
List<String>? orderIds,
String? money,
String? type,
String? headerId,
String? state,
dynamic reviewerTime,
String? reviewerBy,
dynamic ossUrl,
String? reason,
num? isDelete,
String? invoiceHeaderName,
String? invoiceHeaderCode,
dynamic orderList,
dynamic headertype,
dynamic companyAddr,
dynamic companyPhone,
dynamic bank,
dynamic bankNumber,
}) => Records( id: id ?? _id,
createTime: createTime ?? _createTime,
createUser: createUser ?? _createUser,
updateTime: updateTime ?? _updateTime,
updateUser: updateUser ?? _updateUser,
phone: phone ?? _phone,
receivingPhone: receivingPhone ?? _receivingPhone,
mid: mid ?? _mid,
orderIds: orderIds ?? _orderIds,
money: money ?? _money,
type: type ?? _type,
headerId: headerId ?? _headerId,
state: state ?? _state,
reviewerTime: reviewerTime ?? _reviewerTime,
reviewerBy: reviewerBy ?? _reviewerBy,
ossUrl: ossUrl ?? _ossUrl,
reason: reason ?? _reason,
isDelete: isDelete ?? _isDelete,
invoiceHeaderName: invoiceHeaderName ?? _invoiceHeaderName,
invoiceHeaderCode: invoiceHeaderCode ?? _invoiceHeaderCode,
orderList: orderList ?? _orderList,
headertype: headertype ?? _headertype,
companyAddr: companyAddr ?? _companyAddr,
companyPhone: companyPhone ?? _companyPhone,
bank: bank ?? _bank,
bankNumber: bankNumber ?? _bankNumber,
);
String? get id => _id;
String? get createTime => _createTime;
String? get createUser => _createUser;
String? get updateTime => _updateTime;
String? get updateUser => _updateUser;
String? get phone => _phone;
String? get receivingPhone => _receivingPhone;
String? get mid => _mid;
List<String>? get orderIds => _orderIds;
String? get money => _money;
String? get type => _type;
String? get headerId => _headerId;
String? get state => _state;
dynamic get reviewerTime => _reviewerTime;
String? get reviewerBy => _reviewerBy;
dynamic get ossUrl => _ossUrl;
String? get reason => _reason;
num? get isDelete => _isDelete;
String? get invoiceHeaderName => _invoiceHeaderName;
String? get invoiceHeaderCode => _invoiceHeaderCode;
dynamic get orderList => _orderList;
dynamic get headertype => _headertype;
dynamic get companyAddr => _companyAddr;
dynamic get companyPhone => _companyPhone;
dynamic get bank => _bank;
dynamic get bankNumber => _bankNumber;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['id'] = _id;
map['createTime'] = _createTime;
map['createUser'] = _createUser;
map['updateTime'] = _updateTime;
map['updateUser'] = _updateUser;
map['phone'] = _phone;
map['receivingPhone'] = _receivingPhone;
map['mid'] = _mid;
map['orderIds'] = _orderIds;
map['money'] = _money;
map['type'] = _type;
map['headerId'] = _headerId;
map['state'] = _state;
map['reviewerTime'] = _reviewerTime;
map['reviewerBy'] = _reviewerBy;
map['ossUrl'] = _ossUrl;
map['reason'] = _reason;
map['isDelete'] = _isDelete;
map['invoiceHeaderName'] = _invoiceHeaderName;
map['invoiceHeaderCode'] = _invoiceHeaderCode;
map['orderList'] = _orderList;
map['headertype'] = _headertype;
map['companyAddr'] = _companyAddr;
map['companyPhone'] = _companyPhone;
map['bank'] = _bank;
map['bankNumber'] = _bankNumber;
return map;
}
}