-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ShinHyeong
committed
Feb 19, 2023
1 parent
0a1d8f4
commit 4465556
Showing
5 changed files
with
57 additions
and
53 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
50 changes: 25 additions & 25 deletions
50
src/main/java/sg/graphServer/entity/SocialRelationship.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,25 +1,25 @@ | ||
package sg.graphServer.entity; | ||
|
||
import lombok.Builder; | ||
import lombok.NonNull; | ||
import org.springframework.data.annotation.CreatedDate; | ||
import org.springframework.data.neo4j.core.schema.GeneratedValue; | ||
import org.springframework.data.neo4j.core.schema.Id; | ||
import org.springframework.data.neo4j.core.schema.RelationshipProperties; | ||
import org.springframework.data.neo4j.core.schema.TargetNode; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
@Builder | ||
@RelationshipProperties | ||
public class SocialRelationship { | ||
@Id @GeneratedValue | ||
private Long id; | ||
|
||
@TargetNode @NonNull | ||
private Account target; | ||
|
||
@CreatedDate | ||
private LocalDateTime createDT; | ||
|
||
} | ||
//package sg.graphServer.entity; | ||
// | ||
//import lombok.Builder; | ||
//import lombok.NonNull; | ||
//import org.springframework.data.annotation.CreatedDate; | ||
//import org.springframework.data.neo4j.core.schema.GeneratedValue; | ||
//import org.springframework.data.neo4j.core.schema.Id; | ||
//import org.springframework.data.neo4j.core.schema.RelationshipProperties; | ||
//import org.springframework.data.neo4j.core.schema.TargetNode; | ||
// | ||
//import java.time.LocalDateTime; | ||
// | ||
//@Builder | ||
//@RelationshipProperties | ||
//public class SocialRelationship { | ||
// @Id @GeneratedValue | ||
// private Long id; | ||
// | ||
// @TargetNode @NonNull | ||
// private Account target; | ||
// | ||
// @CreatedDate | ||
// private LocalDateTime createDT; | ||
// | ||
//} |
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