using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.Module.DjyRulesEngine
{
///
/// 请求结果
///
public class RuleEngineResult
{
///
/// 是否成功 true=成功 false=失败
///
public string Succ { get; set; }
///
/// 状态 0-成功
///
public int Status { get; set; }
///
/// 返回消息
///
public string Msg { get; set; }
///
/// 总记录数
///
public int Total { get; set; }
///
/// 当前页列表数据
///
public string Rows { get; set; }
///
/// 合计信息
///
public string Summary { get; set; }
///
/// 回执详情
///
public Extra Extra { get; set; }
///
///
///
public string extra2 { get; set; }
///
///
///
///
///
public static RuleEngineResult Failed(string message)
{
return new RuleEngineResult()
{
Succ = "false",
Msg = message
};
}
}
///
/// 请求结果 extra详情
///
public class Extra
{
///
/// 是否成功 true=成功 false=失败
///
public string IsSuccess { get; set; }
///
/// 请求报文HEAD的GID
///
public string RequestId { get; set; }
///
/// 执行时间
///
public string ExcuteDate { get; set; }
///
/// 规则详情
///
public List DetailList { get; set; }
}
///
/// 请求结果 detailList详情
///
public class DetailListItem
{
///
/// 当前规则是否校验成功 true=成功 false=失败
///
public string IsSuccess { get; set; }
///
/// 返回代码
///
public string ResultCode { get; set; }
///
/// [返回校验说明
///
public string ResultName { get; set; }
///
/// 规则提醒类型
///
public string ErrorType { get; set; }
///
/// 规则名称
///
public string RuleName { get; set; }
///
/// 规则集名称
///
public string WfName { get; set; }
}
}