using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KJH55128_Rec.ViewModels
{
public class News_Preview
{
///
/// 彩种ID
///
public string NewsType { get; set; }
///
/// 彩种名称
///
public string ItemName { get; set; }
///
/// 彩种下面的分类名称
///
public string ClassiFication { get; set; }
///
/// 文章集合表
///
public List NewsPreviewItem { get; set; }
}
///
///
///
public class NewsPreviewItem
{
///
/// 文章id
///
///
public string NewsId { get; set; }
///
/// 文章创建时间
///
public string AddTime { get; set; }
///
/// 文章标题
///
public string Title { get; set; }
public string PeriodsNumber { get; set; }
}
public class NewsItem
{
string newsId;
string addTime;
string title;
string source;
public string NewsId
{
get
{
return newsId;
}
set
{
newsId = value;
}
}
public string AddTime
{
get
{
return addTime;
}
set
{
addTime = value;
}
}
public string Title
{
get
{
return title;
}
set
{
title = value;
}
}
public string Source
{
get
{
return source;
}
set
{
source = value;
}
}
public NewsItem() { }
public NewsItem(string newsId, string addTime, string title, string source)
{
this.newsId = newsId;
this.addTime = addTime;
this.title = title;
this.source = source;
}
}
public class Menu
{
public Menu(string NewsType, string ItemName)
{
this.NewsType = NewsType;
this.ItemName = ItemName;
}
///
/// 彩种ID
///
public string NewsType { get; set; }
///
/// 彩种名称
///
public string ItemName { get; set; }
}
}