@@ -0,0 +1,332 @@
+package com.tymiller.dao;%0A%0Aimport java.util.List;%0A%0Aimport org.springframework.data.repository.CrudRepository;%0A%0Aimport com.tymiller.model.Comment;%0A%0Apublic interface CommentDao extends CrudRepository%3CComment, Long%3E %7B%0A%0A%09Comment save(Comment comment);%0A%09%0A%09Comment findOne(Long commentId);%0A%09%0A%09List%3CComment%3E findByPhotoId(Long photoId);%0A%7D%0A

set up comment dao