sunpengfei
2025-08-04 723bfd806486bb870f0003f2cfbf61476a4e70f6
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
using MediatR;
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>
    public class GetResourcesQuery : IRequest<List<GetResourcesQueryResultItem>>
    {
        /// <summary>
        /// 微服务
        /// </summary>
        public string Service { get; set; }
 
        /// <summary>
        /// 请求方式
        /// </summary>
        public EnumWebApiMethod? Method { get; set; }
 
        /// <summary>
        /// 关键字
        /// </summary>
        public string Keywords { get; set; }
    }
 
    /// <summary>
    /// 获取资源列表-结果-项
    /// </summary>
    public class GetResourcesQueryResultItem
    {
        /// <summary>
        /// Id
        /// </summary>
        public Guid Id { get; set; }
 
        /// <summary>
        /// 微服务
        /// </summary>
        public string Service { get; set; }
 
        /// <summary>
        /// 编号
        /// </summary>
        public string Code { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
 
        /// <summary>
        /// 请求方式
        /// </summary>
        public EnumWebApiMethod Method { get; set; }
 
        /// <summary>
        /// 路由
        /// </summary>
        public string Route { get; set; }
 
        /// <summary>
        /// 请求类型名称
        /// </summary>
        public string RequestTypeName { get; set; }
 
        /// <summary>
        /// 响应类型名称
        /// </summary>
        public string ResponseTypeName { get; set; }
    }
}