12345678910111213141516171819202122232425262728293031323334353637 |
- using System.Collections.ObjectModel;
-
- namespace XHZB.Model
- {
- public class ZBPageModel : NotifyModel
- {
- public ObservableCollection<ZBMenuModel> menuList { get; set; }
- /// <summary>
- /// 总页码
- /// </summary>
- private int _pagenum = 1;
- /// <summary>
- /// 总页码
- /// </summary>
- public int pagenum
- {
- get => _pagenum;
- set { _pagenum = value; OnPropertyChanged("pagenum"); }
- }
- /// <summary>
- /// 当前页 从1开始
- /// </summary>
- private int _currpage = 1;// 从1开始
- /// <summary>
- /// 当前页 从1开始
- /// </summary>
- public int currpage
- {
- get => _currpage;
- set { _currpage = value; OnPropertyChanged("currpage"); }
- }
- public ZBPageModel()
- {
- menuList = new ObservableCollection<ZBMenuModel>();
- }
- }
- }
|