-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`dev/feat/html#83` -> `main` 다른 브랜치에서 작업하기 위해 뷰 초안 코드를 병합합니다. See also: #83
- Loading branch information
Showing
10 changed files
with
557 additions
and
16 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
1 change: 1 addition & 0 deletions
1
src/main/java/com/prgrms2/java/bitta/feed/exception/FeedTaskException.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,5 +1,6 @@ | ||
package com.prgrms2.java.bitta.feed.exception; | ||
|
||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
|
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
2 changes: 2 additions & 0 deletions
2
src/main/java/com/prgrms2/java/bitta/jobpost/controller/JobPostViewController.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,2 @@ | ||
package com.prgrms2.java.bitta.jobpost.controller;public class JobPostViewController { | ||
} |
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,5 +1,6 @@ | ||
package com.prgrms2.java.bitta.member.entity; | ||
|
||
|
||
public enum Role { | ||
USER, | ||
Admin | ||
|
53 changes: 53 additions & 0 deletions
53
src/main/java/com/prgrms2/java/bitta/scoutRequest/entity/ScoutRequest.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,53 @@ | ||
package com.prgrms2.java.bitta.scoutRequest.entity; | ||
|
||
import com.prgrms2.java.bitta.member.entity.Member; | ||
import com.prgrms2.java.bitta.member.exception.MemberException; | ||
import jakarta.persistence.*; | ||
import lombok.*; | ||
import org.springframework.data.annotation.CreatedDate; | ||
import org.springframework.data.jpa.domain.support.AuditingEntityListener; | ||
|
||
import java.time.LocalDateTime; | ||
import java.util.List; | ||
|
||
@Entity | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Getter | ||
@ToString | ||
@Table(name = "scout_request") | ||
@Builder | ||
@EntityListeners(AuditingEntityListener.class) | ||
public class ScoutRequest { | ||
@Id | ||
@GeneratedValue(strategy = GenerationType.IDENTITY) | ||
private Long scoutId; | ||
|
||
@OneToMany // 아직 설정 안됨 | ||
private List<Member> director; | ||
|
||
@OneToMany // 아직 설정 안됨 | ||
private List<Member> actor; | ||
|
||
private String message; | ||
|
||
@CreatedDate | ||
private LocalDateTime createdAt; | ||
|
||
private String Status; | ||
// accepted denied 수락여부임 기본값 설정 필요할듯. | ||
|
||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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
Oops, something went wrong.