using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace GDNXFD.Data { [Table("WARNINGLEVEL")] public class WarningLevel : INotifyPropertyChanged { [Column("ID")] public string Id { get; set; } [Column("LEVELS")] public int Levels { get; set; } [Column("COLOR")] public string Color { get; set; } [Column("DECRIPTION")] public string Description { get; set; } [Column("ICON")] public string Icon { get; set; } [Column("SOUND")] public string Sound { get; set; } /// /// Property changed event /// public event PropertyChangedEventHandler PropertyChanged; private void RaisePropertyChanged([CallerMemberName] string caller = "") { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(caller)); } } } }