Business.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using CommunityToolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Collections.ObjectModel;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace ivf_tl_Entity.Entity.AppSetting
  9. {
  10. public class Business : ObservableObject
  11. {
  12. public int num { get; set; }
  13. private bool _isChecked;
  14. public bool isChecked { get => _isChecked; set => SetProperty(ref _isChecked, value); }
  15. private int _isOpen = 0;
  16. public int isOpen { get => _isOpen; set => SetProperty(ref _isOpen, value); }
  17. public string ParentName { get; set; }
  18. public string functionKey { get; set; }
  19. private string _name;
  20. public string name { get => _name; set => SetProperty(ref _name, value); }
  21. public int orderNum { get; set; }
  22. public long id { get; set; }
  23. public long parentId { get; set; }
  24. private int _state;
  25. public int state { get => _state; set => SetProperty(ref _state, value); }
  26. public int type { get; set; }
  27. private string _url;
  28. public string url { get => _url; set => SetProperty(ref _url, value); }
  29. public ObservableCollection<Business> children { get; set; } = new ObservableCollection<Business>();
  30. }
  31. }