jt
2021-06-10 5d0d028456874576560552f5a5c4e8b801786f11
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace HH.WMS.Common.MagicModel
{
    public class MagicQueryEntity
    {
        /// <summary>
        /// 类名
        /// </summary>
        public string className { get; set; }
 
        /// <summary>
        /// 功能点类型
        /// </summary>
        public string funcType { get; set; }
 
        /// <summary>
        /// 是否过程控制-必填
        /// </summary>
        public bool version_control { get; set; }
 
        /// <summary>
        /// 表名  必填
        /// </summary>
        public string tableName { get; set; }
 
        /// <summary>
        /// 是否树状显示
        /// </summary>
        public bool isTree { get; set; }
 
        /// <summary>
        /// 如果为树状显示  则必填 通过此字段进行链接
        /// </summary>
        public string joinNameTree { get; set; }
 
        /// <summary>
        /// 是否分页
        /// </summary>
        public bool isPageing { get; set; }
 
        /// <summary>
        /// 每页显示多少条   isPageing=true时必填
        /// </summary>
        public string pageSize { get; set; }
 
        /// <summary>
        /// 当前页  isPageing=true时必填
        /// </summary>
        public string pageIndex { get; set; }
 
        /// <summary>
        /// 初始化查询条件  可为空
        /// </summary>
        public string loadWhere { get; set; }
 
        /// <summary>
        /// 需要查询的字段名 以逗号分隔 不填则自动填充为*号 
        /// </summary>
        public string fileds { get; set; }
 
        /// <summary>
        /// 组织的查询数据 可为空
        /// </summary>
        public List<QueryEntity> lstQuery { get; set; }
 
        /// <summary>
        /// 排序  可为空
        /// </summary>
        public List<OrderByEntity> lstOrderBy { get; set; }
    }
 
    /// <summary>
    /// 排序实体
    /// </summary>
    public class OrderByEntity 
    {
        /// <summary>
        /// 排序字段名称-必填
        /// </summary>
        public string name { get; set; }
 
        /// <summary>
        /// 排序类型  必填 (枚举asc、desc)
        /// </summary>
        public string type { get; set; }
    }
 
    /// <summary>
    /// 用于查询的实体
    /// </summary>
    public class QueryEntity 
    {
        /// <summary>
        /// 字段名   必填
        /// </summary>
        public string name { get; set; }
 
        /// <summary>
        /// 查询关键字  = like  !=
        /// </summary>
        public string key { get; set; }
 
        /// <summary>
        /// 查询的值
        /// </summary>
        public string value { get; set; }
 
        /// <summary>
        /// 字段类型
        /// </summary>
        public string type { get; set; }
    }
}