ButtonEntity.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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
  8. {
  9. public class ButtonEntity: ObservableObject
  10. {
  11. public long id { get; set; }
  12. private int _num;
  13. public int num { get => _num; set => SetProperty(ref _num, value); }
  14. private string _buttonName;
  15. public string buttonName { get => _buttonName; set => SetProperty(ref _buttonName, value); }
  16. private int _maxHour;
  17. public int maxHour { get => _maxHour; set => SetProperty(ref _maxHour, value); }
  18. private int _minHour;
  19. public int minHour { get => _minHour; set => SetProperty(ref _minHour, value); }
  20. private int _orderNum;
  21. public int orderNum { get => _orderNum; set => SetProperty(ref _orderNum, value); }
  22. private int _state;
  23. public int state { get => _state; set => SetProperty(ref _state, value); }
  24. private string _type;
  25. public string type { get => _type; set => SetProperty(ref _type, value); }
  26. }
  27. }