AlarmUserEntity.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using CommunityToolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace ivf_tl_Entity.Entity.Alarm
  8. {
  9. public class AlarmUserEntity : ObservableObject
  10. {
  11. public long id { get; set; }
  12. private string _name;
  13. public string name { get => _name; set => SetProperty(ref _name, value); }
  14. private string _phone;
  15. public string phone { get => _phone; set => SetProperty(ref _phone, value); }
  16. private int _sms;
  17. public int sms { get => _sms; set => SetProperty(ref _sms, value); }
  18. private int _state;
  19. public int state { get => _state; set => SetProperty(ref _state, value); }
  20. private int _tel;
  21. public int tel { get => _tel; set => SetProperty(ref _tel, value); }
  22. private int _vip;
  23. public int vip { get => _vip; set => SetProperty(ref _vip, value); }
  24. public List<AlarmPermissionEntity> alarmPermissions { get; set; } = new List<AlarmPermissionEntity>();
  25. private bool _IsExpanded;
  26. public bool IsExpanded { get => _IsExpanded; set => SetProperty(ref _IsExpanded, value); }
  27. public List<AlarmDetailEntity> AlarmDetailList { get; set; } = new List<AlarmDetailEntity>();
  28. }
  29. }