166 lines
4.8 KiB
C#
166 lines
4.8 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace WorkerService1.Dto.QueryResponse;
|
|
|
|
public class UserResp
|
|
{
|
|
// {
|
|
// "code": 0,
|
|
// "msg": "成功",
|
|
// "data": {
|
|
// "pageNo": 1,
|
|
// "pageSize": 20,
|
|
// "totalRecords": 3,
|
|
// "records": [
|
|
// {
|
|
// "organization": {
|
|
// "users": [],
|
|
// "orgName": "甘泉街道",
|
|
// "subOrgs": [],
|
|
// "userCount": 0,
|
|
// "orderCode": 0,
|
|
// "orgLevel": 1,
|
|
// "userTotalCount": 0,
|
|
// "permit": true,
|
|
// "id": "6e9232ef-7b84-11e8-86b1-6c92bf4e6960"
|
|
// },
|
|
// "online": false,
|
|
// "passWDInit": true,
|
|
// "ip": "",
|
|
// "sso": false,
|
|
// "userName": "md123",
|
|
// "roles": [
|
|
// {
|
|
// "users": [],
|
|
// "remark": "禁止编辑删除角色,否则影响系统正常使用",
|
|
// "roleName": "执法人员",
|
|
// "permissions": [],
|
|
// "id": "a2e267c0-d88d-4ecb-a4b5-d904e85dfbb6"
|
|
// }
|
|
// ],
|
|
// "pkiId": "",
|
|
// "creator": "27465e20-6942-4569-8141-2ff5c264111e",
|
|
// "isApp": false,
|
|
// "thumb": "",
|
|
// "phoneNo": "",
|
|
// "employeeId": "",
|
|
// "enabled": true,
|
|
// "userRealName": "名都物业",
|
|
// "datas": {},
|
|
// "id": "1942ec57-5019-411d-b85f-a67055797e0f"
|
|
// },
|
|
// {
|
|
// "organization": {
|
|
// "users": [],
|
|
// "orgName": "甘泉街道",
|
|
// "subOrgs": [],
|
|
// "userCount": 0,
|
|
// "orderCode": 0,
|
|
// "orgLevel": 1,
|
|
// "userTotalCount": 0,
|
|
// "permit": true,
|
|
// "id": "6e9232ef-7b84-11e8-86b1-6c92bf4e6960"
|
|
// },
|
|
// "online": false,
|
|
// "passWDInit": false,
|
|
// "ip": "",
|
|
// "sso": false,
|
|
// "userName": "zgc123",
|
|
// "roles": [
|
|
// {
|
|
// "users": [],
|
|
// "remark": "禁止编辑删除角色,否则影响系统正常使用",
|
|
// "roleName": "执法人员",
|
|
// "permissions": [],
|
|
// "id": "a2e267c0-d88d-4ecb-a4b5-d904e85dfbb6"
|
|
// }
|
|
// ],
|
|
// "pkiId": "",
|
|
// "creator": "27465e20-6942-4569-8141-2ff5c264111e",
|
|
// "isApp": false,
|
|
// "thumb": "",
|
|
// "phoneNo": "",
|
|
// "employeeId": "",
|
|
// "enabled": true,
|
|
// "userRealName": "朱龚超",
|
|
// "datas": {},
|
|
// "id": "01edee4a-f345-4060-a33a-34bbd9b55247"
|
|
// },
|
|
// {
|
|
// "organization": {
|
|
// "users": [],
|
|
// "orgName": "甘泉街道",
|
|
// "subOrgs": [],
|
|
// "userCount": 0,
|
|
// "orderCode": 0,
|
|
// "orgLevel": 1,
|
|
// "userTotalCount": 0,
|
|
// "permit": true,
|
|
// "id": "6e9232ef-7b84-11e8-86b1-6c92bf4e6960"
|
|
// },
|
|
// "online": false,
|
|
// "passWDInit": false,
|
|
// "ip": "",
|
|
// "sso": false,
|
|
// "userName": "gm123",
|
|
// "roles": [
|
|
// {
|
|
// "users": [],
|
|
// "remark": "",
|
|
// "roleName": "高级管理员",
|
|
// "permissions": [],
|
|
// "id": "0c772d50-a4af-439f-a18a-8fd332343d5e"
|
|
// },
|
|
// {
|
|
// "users": [],
|
|
// "remark": "禁止编辑删除角色,否则影响系统正常使用",
|
|
// "roleName": "执法人员",
|
|
// "permissions": [],
|
|
// "id": "a2e267c0-d88d-4ecb-a4b5-d904e85dfbb6"
|
|
// }
|
|
// ],
|
|
// "pkiId": "",
|
|
// "creator": "27465e20-6942-4569-8141-2ff5c264111e",
|
|
// "isApp": false,
|
|
// "thumb": "",
|
|
// "phoneNo": "18721100373",
|
|
// "employeeId": "12138",
|
|
// "enabled": true,
|
|
// "userRealName": "张辉",
|
|
// "datas": {},
|
|
// "id": "66fa9261-16f6-49aa-a391-5848f40301e0"
|
|
// }
|
|
// ],
|
|
// "totalPage": 1
|
|
// }
|
|
// }
|
|
|
|
[JsonPropertyName("code")] public int Code { get; set; }
|
|
[JsonPropertyName("msg")] public string Msg { get; set; }
|
|
[JsonPropertyName("data")] public Data Data { get; set; }
|
|
}
|
|
|
|
public class Data
|
|
{
|
|
[JsonPropertyName("pageNo")]
|
|
public int PageNo { get; set; }
|
|
[JsonPropertyName("pageSize")]
|
|
public int PageSize { get; set; }
|
|
[JsonPropertyName("totalRecords")]
|
|
public int TotalRecords { get; set; }
|
|
[JsonPropertyName("records")]
|
|
public Record[] Records { get; set; }
|
|
[JsonPropertyName("totalPage")]
|
|
public int TotalPage { get; set; }
|
|
|
|
}
|
|
|
|
public class Record
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public string Id { get; set; }
|
|
[JsonPropertyName("userName")]
|
|
public string UserName { get; set; }
|
|
[JsonPropertyName("userRealName")]
|
|
public string UserRealName { get; set; }
|
|
} |