TG.WXCRM.V4/AppletMvcService/Models/SuCaiModel.cs

83 lines
2.3 KiB
C#

using System.Collections.Generic;
namespace AppletMvcService.Models
{
/// <summary>
/// 素材模型
/// </summary>
public class SuCaiModel
{
public int total_count { get; set; }
public int item_count { get; set; }
public List<SuCaiWJ> item { get; set; }
public bool result { get; set; }
}
/// <summary>
/// 素材文件
/// </summary>
public class SuCaiWJ
{
public string media_id { get; set; }
public string name { get; set; }
public long update_time { get; set; }
public string url { get; set; }
}
/// <summary>
/// 图文素材
/// </summary>
public class NewsModel
{
public int total_count { get; set; }
public int item_count { get; set; }
public List<NewItem> item { get; set; }
public bool result { get; set; }
}
public class NewsModel2
{
public bool result { get; set; }
public string dataResult { get; set; }
}
public class NewItem
{
public string media_id { get; set; }
public List<newContent> content { get; set; }
public long update_time { get; set; }
}
public class newContent
{
public List<news_item> news_item { get; set; }
public long create_time { get; set; }
public long update_time { get; set; }
}
public class news_item
{
public string title { get; set; }
public string thumb_media_id { get; set; }
public int show_cover_pic { get; set; }
public string author { get; set; }
public string digest { get; set; }
//public string content { get; set; }
public string url { get; set; }
public string content_source_url { get; set; }
}
public class ContentItem
{
public string title { get; set; }
public string thumb_media_id { get; set; }
public int show_cover_pic { get; set; }
public string author { get; set; }
public string digest { get; set; }
public string content { get; set; }
public string url { get; set; }
public string content_source_url { get; set; }
}
public class SuCaiSendModel
{
public string type { get; set; }
public int offset { get; set; }
public int count { get; set; }
}
}