LevelTypeTestingPoint.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Runtime.CompilerServices;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace GDNXFD.Data
  10. {
  11. [Table("LEVELTYPETESTINGPOINT")]
  12. public class LevelTypeTestingPoint : TestingPointBase, INotifyPropertyChanged
  13. {
  14. [Column("CODE")]
  15. public string Id { get; set; }
  16. [Column("LEVELTYPE")]
  17. public string LevelType { get; set; }
  18. [Column("UNIFORMCODE")]
  19. public override string UniformCode { get; set; }
  20. [Column("NAME")]
  21. public override string Name { get; set; }
  22. /// <summary>
  23. /// Property changed event
  24. /// </summary>
  25. public event PropertyChangedEventHandler PropertyChanged;
  26. private void RaisePropertyChanged([CallerMemberName] string caller = "")
  27. {
  28. if (PropertyChanged != null)
  29. {
  30. PropertyChanged(this, new PropertyChangedEventArgs(caller));
  31. }
  32. }
  33. }
  34. }