Hoping to get some assistance on how this would be represented in a database table (3rd normal form). I feel what I have done is incorrect. I understand that with a one to many association, the primary key from the "1" table (in this instance Alert) should be included in it's child classes however I am unsure what the Primary Key should be for Text Response & VoiceResponse?
What I have does not look correct but I do know that each object requires a uniqueId. Note: The ObservationId attribute is from a 1 to many class that has been cut out of the pic.
The tables I have so far are:
Alert: AlertId (PK), AlertType, ObservationId
TextResponse: TextResponseId (PK), AlertID (FK), TextResponse
VoiceResponse: VoiceResponseId (PK), AlertId (FK), SoundClip
Appreciate any help.