package com.tymiller.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class Comment {
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long commentId;
	private String content;

}

@@ -165,16 +165,52 @@
 ence.Id;
+%0Aimport javax.persistence.ManyToOne;
 %0A%0A@Entit
@@ -341,10 +341,44 @@
 ntent;%0A%0A
+%09@ManyToOne%0A%09private Photo photo;%0A
 %7D%0A

add photo field and set to manytoone