using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Vulnerator.Model.Entity
{
    [Table("GroupsMitigationsOrConditionsVulnerabilities")]
    public class GroupMitigationOrConditionVulnerability : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long GroupMitigationOrConditionVulnerability_ID { get; set; }

        [Required]
        public long Group_ID { get; set; }

        public virtual Group Group { get; set; }

        [Required]
        public long MitigationOrCondition_ID { get; set; }

        public virtual MitigationOrCondition MitigationOrCondition { get; set; }

        [Required]
        public long Vulnerability_ID { get; set; }

        public virtual Vulnerability Vulnerability { get; set; }
    }
}