using InterfaceForward.Domain.Shared.Enum; using InterfaceForward.Domain.Shared.Helpers; namespace InterfaceForward.Repositories.Interface.ValueObjects; public class HasCategoryId { /// /// 接口分组id /// public int CategoryId { get; set; } } /// /// /// public class InterfaceTreeListOutputValueObject: HasCategoryId { /// /// 接口Id /// public int Id { get; set; } /// /// 接口名 /// public string Name { get; set; } /// /// 接口代码 /// public string Code { get; set; } /// /// 请求协议 /// public RequestProtocol RequestProtocol { get; set; } /// /// 请求方式 /// public RequestMethod RequestMethod { get; set; } /// /// 请求协议Name /// public string RequestProtocolName => RequestProtocol.GetDescription(); /// /// 请求方式Name /// public string RequestMethodName => RequestMethod.GetDescription(); /// /// 请求地址 /// public string RequestAddress { get; set; } /// /// 接口描述 /// public string Description { get; set; } /// /// 映射数 /// public int MapCount { get; set; } /// /// 更新时间 /// public DateTime? UpdateTime { get; set; } }