using System.Text.Json.Serialization; using InterfaceForward.Repositories.Parameter.VO; namespace InterfaceForward.Repositories.Interface.ValueObjects; /// /// 系统接口输出模型 /// public class SystemInterfaceOutput { /// /// 接口id /// public int Id { get; set; } /// /// 接口代码 /// public string Code { get; set; } /// /// 接口名 /// public string Name { get; set; } /// /// 请求地址 /// public string RequestAddress { get; set; } /// /// 接口描述 /// public string Description { get; set; } /// /// 是否支持批量处理 /// public bool IsBatch { get; set; } /// /// 请求协议 /// public int RequestProtocol { get; set; } /// /// 请求方式 /// public int RequestMethod { get; set; } /// /// 接口分组 /// public int Category { get; set; } /// /// 内容类型 /// public int ContentType { get; set; } /// /// 是否返回源报文 /// public bool IsReturnMessage { get; set; } /// /// 入参列表 /// public List InParameterList { get; set; } /// /// 出参列表 /// public List OutParameterList { get; set; } } public class InterfaceParameterOutput { /// /// Id /// public int Id { get; set; } /// /// 父级Id /// public int PId { get; set; } /// /// 别名 /// public string Alias { get; set; } /// /// 参数名 /// public string Name { get; set; } /// /// 参数名(中文) /// public string CnName { get; set; } /// /// 参数类型 /// public int Type { get; set; } /// /// 是否必填 /// public bool IsRequired { get; set; } /// /// 参数描述 /// public string Description { get; set; } /// /// 0:返回参数;1:请求参数 /// public bool IsInPara { get; set; } /// /// 序列 /// [JsonIgnore] public string Sort { get; set; } }