From 4b20ec0b0926f1d510c201f5fb8defadfa059578 Mon Sep 17 00:00:00 2001 From: Gyoungmin Kim Date: Sat, 27 Jul 2024 12:14:46 +0900 Subject: [PATCH] feat : create updateOwnerMemberId for photo entity --- .../src/main/java/kr/mafoo/photo/domain/PhotoEntity.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/photo-service/src/main/java/kr/mafoo/photo/domain/PhotoEntity.java b/photo-service/src/main/java/kr/mafoo/photo/domain/PhotoEntity.java index 35db5ef9..dd908ce3 100644 --- a/photo-service/src/main/java/kr/mafoo/photo/domain/PhotoEntity.java +++ b/photo-service/src/main/java/kr/mafoo/photo/domain/PhotoEntity.java @@ -62,6 +62,11 @@ public String getId() { return photoId; } + public PhotoEntity updateOwnerMemberId(String ownerMemberId) { + this.ownerMemberId = ownerMemberId; + return this; + } + public PhotoEntity updateAlbumId(String albumId) { this.albumId = albumId; return this;