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