Skip to content

Commit

Permalink
Merge pull request #84 from Seoyoung2222/backend/feature/crew
Browse files Browse the repository at this point in the history
BE: [refactor] 패키지 구조 변경 #83
  • Loading branch information
Seoyoung2222 authored Nov 25, 2024
2 parents 56a73df + 5ae055a commit d1b32ca
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package RunningMachines.R2R.domain.crew.board.entity;

public enum CrewBoard {
NOTICE, GALLERY
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package RunningMachines.R2R.domain.crew.entity;
package RunningMachines.R2R.domain.crew.common.entity;

import RunningMachines.R2R.domain.crew.post.entity.CrewPost;
import RunningMachines.R2R.global.util.BaseEntity;
import jakarta.persistence.*;
import lombok.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package RunningMachines.R2R.domain.crew.common.entity;

public enum CrewRole {
LEADER, MEMBER
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package RunningMachines.R2R.domain.crew.entity;
package RunningMachines.R2R.domain.crew.common.entity;

import RunningMachines.R2R.domain.user.entity.User;
import RunningMachines.R2R.global.util.BaseEntity;
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package RunningMachines.R2R.domain.crew.entity;
package RunningMachines.R2R.domain.crew.post.entity;

import RunningMachines.R2R.domain.crew.common.entity.Crew;
import RunningMachines.R2R.domain.crew.board.entity.CrewBoard;
import RunningMachines.R2R.domain.user.entity.User;
import RunningMachines.R2R.global.util.BaseEntity;
import jakarta.persistence.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package RunningMachines.R2R.domain.crew.entity;
package RunningMachines.R2R.domain.crew.post.entity;

import RunningMachines.R2R.domain.user.entity.User;
import RunningMachines.R2R.global.util.BaseEntity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package RunningMachines.R2R.domain.crew.entity;
package RunningMachines.R2R.domain.crew.post.entity;

import RunningMachines.R2R.global.util.BaseEntity;
import jakarta.persistence.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import RunningMachines.R2R.domain.course.entity.CourseLike;
import RunningMachines.R2R.domain.course.entity.Review;
import RunningMachines.R2R.domain.course.entity.UserCourse;
import RunningMachines.R2R.domain.crew.entity.CrewPost;
import RunningMachines.R2R.domain.crew.entity.CrewPostComment;
import RunningMachines.R2R.domain.crew.entity.CrewUser;
import RunningMachines.R2R.domain.crew.post.entity.CrewPost;
import RunningMachines.R2R.domain.crew.post.entity.CrewPostComment;
import RunningMachines.R2R.domain.crew.common.entity.CrewUser;
import RunningMachines.R2R.global.util.BaseEntity;
import jakarta.persistence.*;
import lombok.*;
Expand Down

0 comments on commit d1b32ca

Please sign in to comment.