| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
-
- using GalaSoft.MvvmLight;
- namespace Muchinfo.MTPClient.Data.Model
- {
- public class NewsModel : ViewModelBase
- {
- private string _newId;
- /// <summary>
- /// ID
- /// </summary>
- public string NewID
- {
- get { return _newId; }
- set { Set(() => NewID, ref _newId, value); }
- }
- private string _title;
- /// <summary>
- /// 新闻标题
- /// </summary>
- public string Title
- {
- get { return _title; }
- set { Set(() => Title, ref _title, value); }
- }
- private string _newsUrl;
- /// <summary>
- /// 新闻内容的地址
- /// </summary>
- public string NewsUrl
- {
- get { return _newsUrl; }
- set { Set(() => NewsUrl, ref _newsUrl, value); }
- }
- }
- }
|