星火直播PC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ZBPageModel.cs 971B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.Collections.ObjectModel;
  2. namespace XHZB.Model
  3. {
  4. public class ZBPageModel : NotifyModel
  5. {
  6. public ObservableCollection<ZBMenuModel> menuList { get; set; }
  7. /// <summary>
  8. /// 总页码
  9. /// </summary>
  10. private int _pagenum = 1;
  11. /// <summary>
  12. /// 总页码
  13. /// </summary>
  14. public int pagenum
  15. {
  16. get => _pagenum;
  17. set { _pagenum = value; OnPropertyChanged("pagenum"); }
  18. }
  19. /// <summary>
  20. /// 当前页 从1开始
  21. /// </summary>
  22. private int _currpage = 1;// 从1开始
  23. /// <summary>
  24. /// 当前页 从1开始
  25. /// </summary>
  26. public int currpage
  27. {
  28. get => _currpage;
  29. set { _currpage = value; OnPropertyChanged("currpage"); }
  30. }
  31. public ZBPageModel()
  32. {
  33. menuList = new ObservableCollection<ZBMenuModel>();
  34. }
  35. }
  36. }