using Hotline.Share.Dtos.File; using Hotline.Share.Requests; namespace Hotline.Share.Dtos.WebPortal { public record QueryKnowledgeList : PagedRequest { /// /// 账号 /// public string? ClientId { get; set; } /// /// 密码 /// public string? ClientSecret { get; set; } /// /// 知识标题 /// public string? Title { get; set; } /// /// 知识分类 /// public string? KnowledgeTypeId { get; set; } /// /// 知识标签 /// public string? KnowledgeBaseTags { get; set; } /// /// 是否企业 /// public int? KnowledgeType { get; set; } } public class QueryKnowledgeInfo { /// /// 账号 /// public string? ClientId { get; set; } /// /// 密码 /// public string? ClientSecret { get; set; } /// /// /// public string Id { get; set; } } /// /// 知识实体 /// public class KnowledgeInfoDto { /// /// id /// public string Id { get; set; } /// /// 标题 /// public string? Title { get; set; } /// /// 内容 /// public string? Content { get; set; } /// /// 浏览量 /// public int PageView { get; set; } = 0; /// /// 附件 /// public List? FileJson { get; set; } /// /// 搜索量 /// public int? SearchNum { get; set; } = 0; /// /// 评分 /// public decimal? Score { get; set; } = decimal.Zero; /// /// 评论数 /// public int? CommentNum { get; set; } = 0; /// /// 创建部门 /// public string? CreatorOrgName { get; set; } /// /// 创建时间 /// public DateTime? CreationTime { get; set; } } /// /// 知识实体 /// public class KnowledgeInfoThirdDto { /// /// id /// public string Id { get; set; } /// /// 标题 /// public string? Title { get; set; } /// /// 内容 /// public string? Content { get; set; } /// /// 浏览量 /// public int PageView { get; set; } = 0; /// /// 附件 /// public List? FileJson { get; set; } /// /// 搜索量 /// public int? SearchNum { get; set; } = 0; /// /// 评分 /// public decimal? Score { get; set; } = decimal.Zero; /// /// 评论数 /// public int? CommentNum { get; set; } = 0; /// /// 创建部门 /// public string? CreatorOrgName { get; set; } /// /// 创建时间 /// public DateTime? CreationTime { get; set; } } }