using JNPF.DependencyInjection;
namespace JNPF.Systems.Entitys.Dto.DataInterFace;
///
/// 数据接口列表.
///
[SuppressSniffer]
public class DateInterfaceGetListOutput
{
///
/// 主键id.
///
public string id { get; set; }
///
/// 接口名.
///
public string fullName { get; set; }
///
/// 编码.
///
public string enCode { get; set; }
///
/// 排序号.
///
public long? sortCode { get; set; }
///
/// 状态.
///
public int? enabledMark { get; set; }
///
/// 创建人.
///
public string creatorUser { get; set; }
///
/// 创建时间.
///
public DateTime? creatorTime { get; set; }
///
/// 数据类型(1-SQL数据,2-静态数据,3-Api数据).
///
public int? _dataType { get; set; }
///
/// 数据类型(1-SQL数据,2-静态数据,3-Api数据).
///
public string dataType
{
get
{
if (_dataType == 1)
{
return "SQL数据";
}
else if (_dataType == 2)
{
return "静态数据";
}
else
{
return "Api数据";
}
}
}
///
/// 分类ID.
///
public string categoryId { get; set; }
///
/// 数据源id.
///
public string dbLinkId { get; set; }
///
/// 描述.
///
public string description { get; set; }
///
/// 接口链接.
///
public string path { get; set; }
///
/// 查询语句.
///
public string query { get; set; }
///
/// 接口入参.
///
public string requestParameters { get; set; }
///
/// 请求方式.
///
public string requestMethod { get; set; }
///
/// 返回类型.
///
public string responseType { get; set; }
///
/// 返回类型.
///
public int? checkType { get; set; }
///
/// 租户id.
///
public string tenantId { get; set; }
}