using System; using System.Collections.Generic; using GxPress.Common.Page; namespace GxPress.Request.Media { /// /// 媒体 /// public class MediaRequest { /// /// 媒体类型 /// Article=1, //书籍 //Book = 2, ////课程 //Curriculum = 3, ////音频 //Audio = 4, ////期刊 //Journal = 5, ////视频 //Video=6 /// public int MediaType { get; set; } /// /// 标题 /// public string Title { get; set; } /// /// 标题图片 /// public string ImageUrls { get; set; } /// /// 简介 /// public string Summary { get; set; } /// /// 作者 /// public string Author { get; set; } /// /// 来源 /// public string Source { get; set; } /// /// Json内容 /// public string Blocks { get; set; } /// /// 审核状态 /// public bool IsChecked { get; set; } /// /// 添加时间 /// public DateTime AddDate { get; set; } /// /// 排序 /// public int Sort { get; set; } /// /// 文章阅读量 /// public int ReadCount { get; set; } /// /// 是否置顶 /// public bool IsTop { get; set; } /// /// 分类ID /// public int CategoryId { get; set; } /// /// 标签ID /// public int LableId { get; set; } /// /// 是否推荐 /// public bool IsRecommend { get; set; } /// /// 出版社 /// public string Press { get; set; } /// /// 出版时间 /// public string PublishTime { get; set; } /// /// 媒体类 /// public List MediaLibraryRequest { get; set; } /// /// 媒体标签 /// public List MediaLableRequests { get; set; } } /// /// 媒体库 /// public class MediaLibraryRequest { /// /// 媒体ID /// /// public int MediaId { get; set; } /// /// 文件路径 /// public string FileUrl { get; set; } /// /// 文件名称 /// public string Name { get; set; } /// /// 排序 /// public int Sort { get; set; } } /// /// 媒体标签 /// public class MediaLableRequest { /// /// 媒体ID /// /// public int MediaId { get; set; } /// /// 标签ID /// public string LableId { get; set; } /// /// 标签名称 /// public string LableName { get; set; } } /// /// /// public class MediaSearchRequest : PageParameter { /// /// /// /// public int MediaType { get; set; } /// /// 是否删除 /// /// public int IsDelete { get; set; } } }