-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [MOVE] BaseEntity 위치를 global 패키지로 이동 * [RENAME] MeeteamInvite -> InvitedUser * [RENAME] RecruitmentMember -> RecruitmentRole * [DEL] 기획제거된 엔티티 제거 * [ADD] 학교, 학과 Entity 분리 * [MOVE] 스키마 별 패키지 구조변경 * [CHORE] User Entity 필드 수정 - 관심있는 역할 추가 - 기존 Enum Role -> Enum Authority로 변경 * [Rename] Spec -> Skill * [CHORE] 패키지 구조 유지를 위한 dummy.txt 추가 * [DEL] dummy.txt 제거 * [ADD] global enum에 필수정보 추가 * [CHORE] 밋팀, 구인글 필수정보 필드 및 구인글 태그 도메인 추가 * [CHORE] 구인글 스키마 수정 - 명칭 RecruitmentPost로 변경 - 작성자 추가 - 기존에는 created by 로 접근하려 했으나, 작성/수정 모두 작성자에게만 권한이 있기에 변경 - 신청자에 역할, 전할 말 추가 - 북마크 수 추가 - 분야 추가 - 구인 역할에 인원 수 추가 - 마감 여부 추가 (soft delete) * [CHORE] 구인글 밋팀 추가 - 관계 스키마 제거 후, 1:N 매핑 * [FIX] ColumnDefault 정상 동작하도록 변경 - @DynamicInsert 추가 - 클래스 멤버 변수의 default value 제거 * [CHORE] 구인글 댓글 추가 * [RENAME] 패키지명 오타 수정 * [CHORE] 구인글 전할 말 제약 조건 추가 * [CHORE] 평가를 위한 점수 저장 위치 변경 * [CHORE] 제약조건 수정 * [CHORE] InvitedUser BaseTimeEntity로 변경 * [CHORE] 산출물 엔티티 추가 * [CHORE] 포트폴리오 스키마 추가 * [FIX] 학교 테이블 변경으로 인한 버그 수정 * [CHORE] 전화번호 길이제한 15로 변경
- Loading branch information
Showing
238 changed files
with
836 additions
and
416 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
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
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
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
File renamed without changes.
File renamed without changes.
37 changes: 37 additions & 0 deletions
37
src/main/java/synk/meeteam/domain/common/department/entity/Department.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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package synk.meeteam.domain.common.department.entity; | ||
|
||
import static jakarta.persistence.FetchType.LAZY; | ||
|
||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.JoinColumn; | ||
import jakarta.persistence.ManyToOne; | ||
import jakarta.validation.constraints.NotNull; | ||
import lombok.AccessLevel; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import synk.meeteam.domain.common.university.entity.University; | ||
|
||
@Entity | ||
@Getter | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@AllArgsConstructor | ||
public class Department { | ||
|
||
@Id | ||
@GeneratedValue(strategy = GenerationType.IDENTITY) | ||
@Column(name = "department_id") | ||
private Long id; | ||
|
||
@ManyToOne(fetch = LAZY, optional = false) | ||
@JoinColumn(name = "university_id") | ||
private University university; | ||
|
||
@NotNull | ||
@Column(length = 20) | ||
private String name; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...nk/meeteam/domain/field/entity/Field.java → ...eam/domain/common/field/entity/Field.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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 36 additions & 0 deletions
36
src/main/java/synk/meeteam/domain/common/output/entity/Output.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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package synk.meeteam.domain.common.output.entity; | ||
|
||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.validation.constraints.NotNull; | ||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import org.hibernate.annotations.ColumnDefault; | ||
import org.hibernate.annotations.DynamicInsert; | ||
import synk.meeteam.global.entity.BaseTimeEntity; | ||
|
||
@Getter | ||
@Setter | ||
@Entity | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@DynamicInsert | ||
public class Output extends BaseTimeEntity { | ||
@Id | ||
@GeneratedValue(strategy = GenerationType.IDENTITY) | ||
@Column(name = "output_id") | ||
private Long id; | ||
|
||
@NotNull | ||
@ColumnDefault("0") | ||
private Long totalSlideCnt; | ||
|
||
@NotNull | ||
@ColumnDefault("0") | ||
private Long totalLinkCnt; | ||
|
||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
33 changes: 12 additions & 21 deletions
33
...imetable_block/entity/TimetableBlock.java → ...common/output_link/entity/OutputLink.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,51 +1,42 @@ | ||
package synk.meeteam.domain.timetable_block.entity; | ||
package synk.meeteam.domain.common.output_link.entity; | ||
|
||
import static jakarta.persistence.FetchType.LAZY; | ||
|
||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.EnumType; | ||
import jakarta.persistence.Enumerated; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.JoinColumn; | ||
import jakarta.persistence.ManyToOne; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.Size; | ||
import java.time.DayOfWeek; | ||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import synk.meeteam.domain.user.entity.User; | ||
import synk.meeteam.domain.common.output.entity.Output; | ||
import synk.meeteam.global.entity.BaseTimeEntity; | ||
|
||
@Getter | ||
@Setter | ||
@Entity | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
public class TimetableBlock { | ||
public class OutputLink extends BaseTimeEntity { | ||
@Id | ||
@GeneratedValue(strategy = GenerationType.IDENTITY) | ||
@Column(name = "timetable_block_id") | ||
@Column(name = "output_link_id") | ||
private Long id; | ||
|
||
@ManyToOne(fetch = LAZY, optional = false) | ||
@JoinColumn(name = "user_id") | ||
private User user; | ||
@JoinColumn(name = "output_id") | ||
private Output output; | ||
|
||
@NotNull | ||
@Enumerated(EnumType.STRING) | ||
@Column(length = 10) | ||
private DayOfWeek dayOfWeek; | ||
@NotBlank | ||
@Column(length = 300) | ||
@Size(max = 300) | ||
private String url; | ||
|
||
@NotNull | ||
@Size(max = 5) | ||
@Column(length = 5) | ||
private String startTime; | ||
|
||
@NotNull | ||
@Size(max = 5) | ||
@Column(length = 5) | ||
private String endTime; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.