-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] community 구조 리펙토링 및 세부 내용 리펙토링 #168
- Loading branch information
1 parent
f6eb960
commit 7598233
Showing
38 changed files
with
716 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
src/main/java/prefolio/prefolioserver/domain/post/domain/ActTag.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
package prefolio.prefolioserver.domain.post.domain; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum ActTag { | ||
SOCIETY("society"), | ||
PROJECT("project"), | ||
INTERN("intern"); | ||
|
||
private String actTag; | ||
private final String actTag; | ||
|
||
ActTag(String actTag) { | ||
this.actTag = actTag; | ||
} | ||
|
||
public String getActTag() { | ||
return this.actTag; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
src/main/java/prefolio/prefolioserver/domain/post/domain/PartTag.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
package prefolio.prefolioserver.domain.post.domain; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum PartTag { | ||
PLAN("plan"), | ||
DEV("dev"), | ||
DESIGN("design"); | ||
|
||
private String partTag; | ||
private final String partTag; | ||
|
||
PartTag(String partTag) { | ||
this.partTag = partTag; | ||
} | ||
|
||
public String getPartTag() { | ||
return this.partTag; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
src/main/java/prefolio/prefolioserver/domain/post/domain/SortBy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
package prefolio.prefolioserver.domain.post.domain; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum SortBy { | ||
CREATED_AT("createdAt"), | ||
LIKES("likes"), | ||
HITS("hits"); | ||
|
||
private String sortBy; | ||
private final String sortBy; | ||
|
||
SortBy(String sortBy) { | ||
this.sortBy = sortBy; | ||
} | ||
|
||
public String getSortBy() { | ||
return this.sortBy; | ||
} | ||
} |
Oops, something went wrong.