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.
511 lines
18 KiB
511 lines
18 KiB
1 year ago
|
/// records : [{"id":"1718209460100399104","createTime":"2023-10-28 18:13:53","createUser":"0","updateTime":"2023-10-28 18:13:53","updateUser":"0","account":"王松涛","name":"王松涛","org":null,"station":null,"type":0,"email":"","mobile":"18738828830","sex":{"desc":"未知","code":"N"},"status":false,"avatar":"https://wework.qpic.cn/wwpic/66165_d3QhlRvnTKGAo6s_1698281591/0","nation":{"key":null,"data":""},"education":{"key":null,"data":""},"positionStatus":{"key":null,"data":""},"workDescribe":"","passwordErrorLastTime":null,"passwordErrorNum":0,"passwordExpireTime":null,"password":"e10adc3949ba59abbe56e057f20f883e","lastLoginTime":null},{"id":"1716755848744665088","createTime":"2023-10-24 17:57:45","createUser":"0","updateTime":"2023-10-24 17:57:45","updateUser":"0","account":"李晟垒","name":"李晟垒","org":null,"station":null,"type":0,"email":"","mobile":"17629876603","sex":{"desc":"未知","code":"N"},"status":false,"avatar":"https://wework.qpic.cn/wwpic/249437_3fqtwXiGSuKq7ld_1697021007/0","nation":{"key":null,"data":""},"education":{"key":null,"data":""},"positionStatus":{"key":null,"data":""},"workDescribe":"","passwordErrorLastTime":null,"passwordErrorNum":0,"passwordExpireTime":null,"password":"e10adc3949ba59abbe56e057f20f883e","lastLoginTime":null},{"id":"1716755840049872896","createTime":"2023-10-24 17:57:43","createUser":"0","updateTime":"2023-10-24 17:57:43","updateUser":"0","account":"高凤丽","name":"高凤丽","org":null,"station":null,"type":0,"email":"","mobile":"17698645321","sex":{"desc":"未知","code":"N"},"status":false,"avatar":"https://wework.qpic.cn/wwpic/879260_Hq64nFhRQu-oyYO_1693879864/0","nation":{"key":null,"data":""},"education":{"key":null,"data":""},"positionStatus":{"key":null,"data":""},"workDescribe":"","passwordErrorLastTime":null,"passwordErrorNum":0,"passwordExpireTime":null,"password":"e10adc3949ba59abbe56e057f20f883e","lastLoginTime":null},{"id":"1712817865955999744","createTime":"2023-10-13 21:09:37","createUser":"0","updateTime":"2023-10-13 21:09:37","updateUser":"0","account":"马增凯","name":"马增凯","org":null,"station":null,"type":0,"email":"","mobile":"18539252112","sex":{"desc":"未知","code":"N"},"status":false,"avatar":"https://wework.qpic.cn/wwpic/26498_W5VMMKB8Ss-E9y-_1697005237/0","nation":{"key":null,"data":""},"education":{"key":null,"data":""},"positionStatus":{"key":null,"data":""},"workDescribe":"","passwordErrorLastTime":null,"passwordErrorNum":0,"passwordExpireTime":null,"password":"e10adc3949ba59abbe56e057f20f883e","lastLoginTime":null},{"id":"1700087952224288768","createTime":"2023-09-08 18:05:29","createUser":"1684404021814624256","updateTime":"2023-09-08 18:05:29","updateUser":"1684404021814624256","account":"美食街运营","name":"美食街运营","org":null,"station":null,"type":0,"email":"","mobile":"","sex":{"desc":"未知","code":"N"},"status":true,"avatar":"","nation":{"key":"","data":""},"education":{"key":"","data":""},"positionStatus":{"key":"","data":""},"workDescribe":"","passwordErrorLastTime":"2023-10-08 10:15:03","passwordErrorNum":0,"passwordExpireTime":null,"password":"e10adc3949ba59abbe56e057f20f883e","lastLoginTime":"2023-10-08 10:15:03"},{"id":"1694559126463447040","createTime":"2023-08-24 11:55:54","createUser":"0","updateTime":"2023-08-24 11:55:54","updateUser":"0","account":"金威","name":"金威","org":null,"station":null,"type":0,"email":"","mobile":"15871028672","sex":{"desc":"未知","code":"N"},"status":false,"avatar":"https://wework.qpic.cn/wwpic/670541_3pcB-e15RfK-v8S_1666828735/0","nation":{"key":null,"data":""},"education":{"key":null,"data":""},"positionStatus":{"key":null,"data":""},"workDescribe":"","passwordErrorLastTime":null,"passwordErrorNum":0,"passwordExpireTime":null,"password":"e10adc3949ba59abbe56e057f20f883e","lastLoginTime":null},{"id":"1693150526188814336","createTime":"2023-08-20 14:38:37","createUser":"0","updateTime":"2023-08-20 14:38:37","updateUser":"0","account":"赵铭","name":"赵铭","org":null,"station":null,"type":0,"email":"","mobile":"15238461762","sex":{"desc":"未知","code":
|
||
|
/// total : "26"
|
||
|
/// size : "10"
|
||
|
/// current : "1"
|
||
|
/// orders : [{"column":"id","asc":false}]
|
||
|
/// hitCount : false
|
||
|
/// searchCount : true
|
||
|
/// pages : "3"
|
||
|
|
||
|
class ClerkManageList {
|
||
|
ClerkManageList({
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
ClerkManageList.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;
|
||
|
ClerkManageList copyWith({ List<Records> records,
|
||
|
String total,
|
||
|
String size,
|
||
|
String current,
|
||
|
List<Orders> orders,
|
||
|
bool hitCount,
|
||
|
bool searchCount,
|
||
|
String pages,
|
||
|
}) => ClerkManageList( 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 : "1718209460100399104"
|
||
|
/// createTime : "2023-10-28 18:13:53"
|
||
|
/// createUser : "0"
|
||
|
/// updateTime : "2023-10-28 18:13:53"
|
||
|
/// updateUser : "0"
|
||
|
/// account : "王松涛"
|
||
|
/// name : "王松涛"
|
||
|
/// org : null
|
||
|
/// station : null
|
||
|
/// type : 0
|
||
|
/// email : ""
|
||
|
/// mobile : "18738828830"
|
||
|
/// sex : {"desc":"未知","code":"N"}
|
||
|
/// status : false
|
||
|
/// avatar : "https://wework.qpic.cn/wwpic/66165_d3QhlRvnTKGAo6s_1698281591/0"
|
||
|
/// nation : {"key":null,"data":""}
|
||
|
/// education : {"key":null,"data":""}
|
||
|
/// positionStatus : {"key":null,"data":""}
|
||
|
/// workDescribe : ""
|
||
|
/// passwordErrorLastTime : null
|
||
|
/// passwordErrorNum : 0
|
||
|
/// passwordExpireTime : null
|
||
|
/// password : "e10adc3949ba59abbe56e057f20f883e"
|
||
|
/// lastLoginTime : null
|
||
|
|
||
|
class Records {
|
||
|
Records({
|
||
|
String id,
|
||
|
String createTime,
|
||
|
String createUser,
|
||
|
String updateTime,
|
||
|
String updateUser,
|
||
|
String account,
|
||
|
String name,
|
||
|
dynamic org,
|
||
|
dynamic station,
|
||
|
num type,
|
||
|
String email,
|
||
|
String mobile,
|
||
|
Sex sex,
|
||
|
bool status,
|
||
|
String avatar,
|
||
|
Nation nation,
|
||
|
Education education,
|
||
|
PositionStatus positionStatus,
|
||
|
String workDescribe,
|
||
|
dynamic passwordErrorLastTime,
|
||
|
num passwordErrorNum,
|
||
|
dynamic passwordExpireTime,
|
||
|
String password,
|
||
|
dynamic lastLoginTime,}){
|
||
|
_id = id;
|
||
|
_createTime = createTime;
|
||
|
_createUser = createUser;
|
||
|
_updateTime = updateTime;
|
||
|
_updateUser = updateUser;
|
||
|
_account = account;
|
||
|
_name = name;
|
||
|
_org = org;
|
||
|
_station = station;
|
||
|
_type = type;
|
||
|
_email = email;
|
||
|
_mobile = mobile;
|
||
|
_sex = sex;
|
||
|
_status = status;
|
||
|
_avatar = avatar;
|
||
|
_nation = nation;
|
||
|
_education = education;
|
||
|
_positionStatus = positionStatus;
|
||
|
_workDescribe = workDescribe;
|
||
|
_passwordErrorLastTime = passwordErrorLastTime;
|
||
|
_passwordErrorNum = passwordErrorNum;
|
||
|
_passwordExpireTime = passwordExpireTime;
|
||
|
_password = password;
|
||
|
_lastLoginTime = lastLoginTime;
|
||
|
}
|
||
|
|
||
|
Records.fromJson(dynamic json) {
|
||
|
_id = json['id'];
|
||
|
_createTime = json['createTime'];
|
||
|
_createUser = json['createUser'];
|
||
|
_updateTime = json['updateTime'];
|
||
|
_updateUser = json['updateUser'];
|
||
|
_account = json['account'];
|
||
|
_name = json['name'];
|
||
|
_org = json['org'];
|
||
|
_station = json['station'];
|
||
|
_type = json['type'];
|
||
|
_email = json['email'];
|
||
|
_mobile = json['mobile'];
|
||
|
_sex = json['sex'] != null ? Sex.fromJson(json['sex']) : null;
|
||
|
_status = json['status'];
|
||
|
_avatar = json['avatar'];
|
||
|
_nation = json['nation'] != null ? Nation.fromJson(json['nation']) : null;
|
||
|
_education = json['education'] != null ? Education.fromJson(json['education']) : null;
|
||
|
_positionStatus = json['positionStatus'] != null ? PositionStatus.fromJson(json['positionStatus']) : null;
|
||
|
_workDescribe = json['workDescribe'];
|
||
|
_passwordErrorLastTime = json['passwordErrorLastTime'];
|
||
|
_passwordErrorNum = json['passwordErrorNum'];
|
||
|
_passwordExpireTime = json['passwordExpireTime'];
|
||
|
_password = json['password'];
|
||
|
_lastLoginTime = json['lastLoginTime'];
|
||
|
}
|
||
|
String _id;
|
||
|
String _createTime;
|
||
|
String _createUser;
|
||
|
String _updateTime;
|
||
|
String _updateUser;
|
||
|
String _account;
|
||
|
String _name;
|
||
|
dynamic _org;
|
||
|
dynamic _station;
|
||
|
num _type;
|
||
|
String _email;
|
||
|
String _mobile;
|
||
|
Sex _sex;
|
||
|
bool _status;
|
||
|
String _avatar;
|
||
|
Nation _nation;
|
||
|
Education _education;
|
||
|
PositionStatus _positionStatus;
|
||
|
String _workDescribe;
|
||
|
dynamic _passwordErrorLastTime;
|
||
|
num _passwordErrorNum;
|
||
|
dynamic _passwordExpireTime;
|
||
|
String _password;
|
||
|
dynamic _lastLoginTime;
|
||
|
Records copyWith({ String id,
|
||
|
String createTime,
|
||
|
String createUser,
|
||
|
String updateTime,
|
||
|
String updateUser,
|
||
|
String account,
|
||
|
String name,
|
||
|
dynamic org,
|
||
|
dynamic station,
|
||
|
num type,
|
||
|
String email,
|
||
|
String mobile,
|
||
|
Sex sex,
|
||
|
bool status,
|
||
|
String avatar,
|
||
|
Nation nation,
|
||
|
Education education,
|
||
|
PositionStatus positionStatus,
|
||
|
String workDescribe,
|
||
|
dynamic passwordErrorLastTime,
|
||
|
num passwordErrorNum,
|
||
|
dynamic passwordExpireTime,
|
||
|
String password,
|
||
|
dynamic lastLoginTime,
|
||
|
}) => Records( id: id ?? _id,
|
||
|
createTime: createTime ?? _createTime,
|
||
|
createUser: createUser ?? _createUser,
|
||
|
updateTime: updateTime ?? _updateTime,
|
||
|
updateUser: updateUser ?? _updateUser,
|
||
|
account: account ?? _account,
|
||
|
name: name ?? _name,
|
||
|
org: org ?? _org,
|
||
|
station: station ?? _station,
|
||
|
type: type ?? _type,
|
||
|
email: email ?? _email,
|
||
|
mobile: mobile ?? _mobile,
|
||
|
sex: sex ?? _sex,
|
||
|
status: status ?? _status,
|
||
|
avatar: avatar ?? _avatar,
|
||
|
nation: nation ?? _nation,
|
||
|
education: education ?? _education,
|
||
|
positionStatus: positionStatus ?? _positionStatus,
|
||
|
workDescribe: workDescribe ?? _workDescribe,
|
||
|
passwordErrorLastTime: passwordErrorLastTime ?? _passwordErrorLastTime,
|
||
|
passwordErrorNum: passwordErrorNum ?? _passwordErrorNum,
|
||
|
passwordExpireTime: passwordExpireTime ?? _passwordExpireTime,
|
||
|
password: password ?? _password,
|
||
|
lastLoginTime: lastLoginTime ?? _lastLoginTime,
|
||
|
);
|
||
|
String get id => _id;
|
||
|
String get createTime => _createTime;
|
||
|
String get createUser => _createUser;
|
||
|
String get updateTime => _updateTime;
|
||
|
String get updateUser => _updateUser;
|
||
|
String get account => _account;
|
||
|
String get name => _name;
|
||
|
dynamic get org => _org;
|
||
|
dynamic get station => _station;
|
||
|
num get type => _type;
|
||
|
String get email => _email;
|
||
|
String get mobile => _mobile;
|
||
|
Sex get sex => _sex;
|
||
|
bool get status => _status;
|
||
|
String get avatar => _avatar;
|
||
|
Nation get nation => _nation;
|
||
|
Education get education => _education;
|
||
|
PositionStatus get positionStatus => _positionStatus;
|
||
|
String get workDescribe => _workDescribe;
|
||
|
dynamic get passwordErrorLastTime => _passwordErrorLastTime;
|
||
|
num get passwordErrorNum => _passwordErrorNum;
|
||
|
dynamic get passwordExpireTime => _passwordExpireTime;
|
||
|
String get password => _password;
|
||
|
dynamic get lastLoginTime => _lastLoginTime;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['id'] = _id;
|
||
|
map['createTime'] = _createTime;
|
||
|
map['createUser'] = _createUser;
|
||
|
map['updateTime'] = _updateTime;
|
||
|
map['updateUser'] = _updateUser;
|
||
|
map['account'] = _account;
|
||
|
map['name'] = _name;
|
||
|
map['org'] = _org;
|
||
|
map['station'] = _station;
|
||
|
map['type'] = _type;
|
||
|
map['email'] = _email;
|
||
|
map['mobile'] = _mobile;
|
||
|
if (_sex != null) {
|
||
|
map['sex'] = _sex.toJson();
|
||
|
}
|
||
|
map['status'] = _status;
|
||
|
map['avatar'] = _avatar;
|
||
|
if (_nation != null) {
|
||
|
map['nation'] = _nation.toJson();
|
||
|
}
|
||
|
if (_education != null) {
|
||
|
map['education'] = _education.toJson();
|
||
|
}
|
||
|
if (_positionStatus != null) {
|
||
|
map['positionStatus'] = _positionStatus.toJson();
|
||
|
}
|
||
|
map['workDescribe'] = _workDescribe;
|
||
|
map['passwordErrorLastTime'] = _passwordErrorLastTime;
|
||
|
map['passwordErrorNum'] = _passwordErrorNum;
|
||
|
map['passwordExpireTime'] = _passwordExpireTime;
|
||
|
map['password'] = _password;
|
||
|
map['lastLoginTime'] = _lastLoginTime;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/// key : null
|
||
|
/// data : ""
|
||
|
|
||
|
class PositionStatus {
|
||
|
PositionStatus({
|
||
|
dynamic key,
|
||
|
String data,}){
|
||
|
_key = key;
|
||
|
_data = data;
|
||
|
}
|
||
|
|
||
|
PositionStatus.fromJson(dynamic json) {
|
||
|
_key = json['key'];
|
||
|
_data = json['data'];
|
||
|
}
|
||
|
dynamic _key;
|
||
|
String _data;
|
||
|
PositionStatus copyWith({ dynamic key,
|
||
|
String data,
|
||
|
}) => PositionStatus( key: key ?? _key,
|
||
|
data: data ?? _data,
|
||
|
);
|
||
|
dynamic get key => _key;
|
||
|
String get data => _data;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['key'] = _key;
|
||
|
map['data'] = _data;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/// key : null
|
||
|
/// data : ""
|
||
|
|
||
|
class Education {
|
||
|
Education({
|
||
|
dynamic key,
|
||
|
String data,}){
|
||
|
_key = key;
|
||
|
_data = data;
|
||
|
}
|
||
|
|
||
|
Education.fromJson(dynamic json) {
|
||
|
_key = json['key'];
|
||
|
_data = json['data'];
|
||
|
}
|
||
|
dynamic _key;
|
||
|
String _data;
|
||
|
Education copyWith({ dynamic key,
|
||
|
String data,
|
||
|
}) => Education( key: key ?? _key,
|
||
|
data: data ?? _data,
|
||
|
);
|
||
|
dynamic get key => _key;
|
||
|
String get data => _data;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['key'] = _key;
|
||
|
map['data'] = _data;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/// key : null
|
||
|
/// data : ""
|
||
|
|
||
|
class Nation {
|
||
|
Nation({
|
||
|
dynamic key,
|
||
|
String data,}){
|
||
|
_key = key;
|
||
|
_data = data;
|
||
|
}
|
||
|
|
||
|
Nation.fromJson(dynamic json) {
|
||
|
_key = json['key'];
|
||
|
_data = json['data'];
|
||
|
}
|
||
|
dynamic _key;
|
||
|
String _data;
|
||
|
Nation copyWith({ dynamic key,
|
||
|
String data,
|
||
|
}) => Nation( key: key ?? _key,
|
||
|
data: data ?? _data,
|
||
|
);
|
||
|
dynamic get key => _key;
|
||
|
String get data => _data;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['key'] = _key;
|
||
|
map['data'] = _data;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/// desc : "未知"
|
||
|
/// code : "N"
|
||
|
|
||
|
class Sex {
|
||
|
Sex({
|
||
|
String desc,
|
||
|
String code,}){
|
||
|
_desc = desc;
|
||
|
_code = code;
|
||
|
}
|
||
|
|
||
|
Sex.fromJson(dynamic json) {
|
||
|
_desc = json['desc'];
|
||
|
_code = json['code'];
|
||
|
}
|
||
|
String _desc;
|
||
|
String _code;
|
||
|
Sex copyWith({ String desc,
|
||
|
String code,
|
||
|
}) => Sex( desc: desc ?? _desc,
|
||
|
code: code ?? _code,
|
||
|
);
|
||
|
String get desc => _desc;
|
||
|
String get code => _code;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['desc'] = _desc;
|
||
|
map['code'] = _code;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|