You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.8 KiB
C#
81 lines
1.8 KiB
C#
using Newtonsoft.Json.Linq;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using ZKLT.Hadoop;
|
|
|
|
namespace ZKLT.Hadoop.Model
|
|
{
|
|
/// <summary>
|
|
/// 命令
|
|
/// </summary>
|
|
public class HDP_Command
|
|
{
|
|
|
|
private string? _SourceId;
|
|
|
|
private string? _TableId;
|
|
|
|
private int? _PageIndex;
|
|
|
|
private int? _PageSize;
|
|
|
|
private string? _Type;
|
|
|
|
private string[]? _Col;
|
|
|
|
private JToken? _Where;
|
|
|
|
private JToken? _Data;
|
|
|
|
private JToken? _Order;
|
|
|
|
/// <summary>
|
|
/// 源
|
|
/// </summary>
|
|
public string? SourceId { get => _SourceId; set => _SourceId = value; }
|
|
|
|
/// <summary>
|
|
/// 表
|
|
/// </summary>
|
|
public string? TableId { get => _TableId; set => _TableId = value; }
|
|
|
|
/// <summary>
|
|
/// 条件
|
|
/// </summary>
|
|
public JToken? Where { get => _Where; set => _Where = value; }
|
|
|
|
/// <summary>
|
|
/// 数据
|
|
/// </summary>
|
|
public JToken? Data { get => _Data; set => _Data = value; }
|
|
|
|
/// <summary>
|
|
/// 分页下标
|
|
/// </summary>
|
|
public int? PageIndex { get => _PageIndex; set => _PageIndex = value; }
|
|
|
|
/// <summary>
|
|
/// 分页大小
|
|
/// </summary>
|
|
public int? PageSize { get => _PageSize; set => _PageSize = value; }
|
|
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
public JToken? Order { get => _Order; set => _Order = value; }
|
|
|
|
/// <summary>
|
|
/// 命令类型
|
|
/// </summary>
|
|
public string? Type { get => _Type; set => _Type = value; }
|
|
|
|
/// <summary>
|
|
/// 列
|
|
/// </summary>
|
|
public string[]? Col { get => _Col; set => _Col = value; }
|
|
}
|
|
}
|