sunpengfei
2025-09-01 611af5472b33cbe81a1433ab29e26502a9aac795
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
using MediatR;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace FlexJobApi.Core
{
    /// <summary>
    /// 查询运营端用户分页列表数据
    /// </summary>
    [Resource([EnumResourceController.UserServerUser])]
    public class GetOperationUserInfosQuery : PagedListQuery<PagedListQueryResult<GetOperationUserInfosQueryResultItem>, GetOperationUserInfosQueryResultItem>
    {
        /// <summary>
        /// 关键字
        /// </summary>
        public string Keywords { get; set; }
    }
 
    /// <summary>
    /// 查询运营端用户分页列表数据-结果-项
    /// </summary>
    public class GetOperationUserInfosQueryResultItem
    {
        public GetOperationUserInfosQueryResultItem()
        {
            Roles = [];
        }
 
        /// <summary>
        /// Id
        /// </summary>
        public Guid Id { get; set; }
 
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
 
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
 
        /// <summary>
        /// 手机号
        /// </summary>
        public string PhoneNumber { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
 
        /// <summary>
        /// 角色
        /// </summary>
        public List<GetOperationUserInfosQueryResultItemRole> Roles { get; set; }
 
        /// <summary>
        /// 状态
        /// </summary>
        public EnumUserStatus Status { get; set; }
    }
 
    /// <summary>
    /// 查询运营端用户分页列表数据-结果-项
    /// </summary>
    public class GetOperationUserInfosQueryResultItemRole
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [Newtonsoft.Json.JsonIgnore, Swashbuckle.AspNetCore.Annotations.SwaggerIgnore]
        public Guid UserId { get; set; }
 
        /// <summary>
        /// 角色Id
        /// </summary>
        public Guid Id { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
    }
}