|
@@ -157,6 +157,36 @@ namespace Model
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnDescription = "接口参数", ColumnName = "api_param", IsJson = true, ColumnDataType = "json")]
|
|
[SugarColumn(ColumnDescription = "接口参数", ColumnName = "api_param", IsJson = true, ColumnDataType = "json")]
|
|
|
public List<ApiParamObject> apiParam { get; set; }
|
|
public List<ApiParamObject> apiParam { get; set; }
|
|
|
|
|
+ [SugarColumn(IsIgnore = true)]
|
|
|
|
|
+ public int apiParamCount
|
|
|
|
|
+ {
|
|
|
|
|
+ get
|
|
|
|
|
+ {
|
|
|
|
|
+ if (apiParam != null)
|
|
|
|
|
+ {
|
|
|
|
|
+ return apiParam.Count;
|
|
|
|
|
+ }
|
|
|
|
|
+ else
|
|
|
|
|
+ {
|
|
|
|
|
+ return 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ [SugarColumn(IsIgnore = true)]
|
|
|
|
|
+ public string? apiParamFirstParam
|
|
|
|
|
+ {
|
|
|
|
|
+ get
|
|
|
|
|
+ {
|
|
|
|
|
+ if (apiParamCount > 0)
|
|
|
|
|
+ {
|
|
|
|
|
+ return apiParam[0].fieldName;
|
|
|
|
|
+ }
|
|
|
|
|
+ else
|
|
|
|
|
+ {
|
|
|
|
|
+ return "";
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
@@ -308,7 +338,8 @@ namespace Model
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 关联参数数量
|
|
/// 关联参数数量
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
- public int linkParamCount {
|
|
|
|
|
|
|
+ public int linkParamCount
|
|
|
|
|
+ {
|
|
|
get
|
|
get
|
|
|
{
|
|
{
|
|
|
if (linkParam != null)
|
|
if (linkParam != null)
|