123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
-
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace KJH55128_Rec.ViewModels
- {
- public class News_Preview
- {
-
-
-
- public string NewsType { get; set; }
-
-
-
- public string ItemName { get; set; }
-
-
-
- public string ClassiFication { get; set; }
-
-
-
- public List<NewsPreviewItem> NewsPreviewItem { get; set; }
- }
-
-
-
- public class NewsPreviewItem
- {
-
-
-
-
- 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;
- }
-
-
-
- public string NewsType { get; set; }
-
-
-
- public string ItemName { get; set; }
- }
- }
|