-
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.
- Loading branch information
Showing
23 changed files
with
107 additions
and
302 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.van1164.user.config | ||
|
||
class UserConfig { | ||
} |
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
4 changes: 4 additions & 0 deletions
4
util/src/main/kotlin/com/van1164/common/config/R2dbcConfig.kt
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,4 @@ | ||
package com.van1164.common.config | ||
|
||
class R2dbcConfig { | ||
} |
21 changes: 0 additions & 21 deletions
21
util/src/main/kotlin/com/van1164/common/domain/BaseEntity.kt
This file was deleted.
Oops, something went wrong.
22 changes: 2 additions & 20 deletions
22
util/src/main/kotlin/com/van1164/common/domain/LiveStream.kt
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
69 changes: 32 additions & 37 deletions
69
util/src/main/kotlin/com/van1164/common/domain/SubComment.kt
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,40 +1,35 @@ | ||
package com.van1164.common.domain | ||
|
||
import com.van1164.common.domain.comment.Comment | ||
import jakarta.persistence.* | ||
import lombok.ToString | ||
import java.util.* | ||
|
||
|
||
@Entity | ||
@Table(name = "sub_comment") | ||
data class SubComment( | ||
@Column(name = "message") | ||
val message: String, | ||
|
||
@ManyToOne | ||
@ToString.Exclude | ||
@JoinColumn(name = "user_id") | ||
val user: User, | ||
|
||
@ManyToOne | ||
@ToString.Exclude | ||
@JoinColumn(name = "comment_id") | ||
val comment: Comment, | ||
|
||
|
||
@Temporal(TemporalType.TIMESTAMP) | ||
@Column(name = "created_at", nullable = false) | ||
val createDate : Date, | ||
|
||
@Column(name = "good") | ||
var good: Int = 0, | ||
|
||
@Column(name = "bad") | ||
var bad: Int = 0, | ||
|
||
@Id | ||
@GeneratedValue(strategy = GenerationType.AUTO) | ||
@Column(name = "sub_comment_id") | ||
val id: Long? = null | ||
) | ||
//@Entity | ||
//@Table(name = "sub_comment") | ||
//data class SubComment( | ||
// @Column(name = "message") | ||
// val message: String, | ||
// | ||
// @ManyToOne | ||
// @ToString.Exclude | ||
// @JoinColumn(name = "user_id") | ||
// val user: User, | ||
// | ||
// @ManyToOne | ||
// @ToString.Exclude | ||
// @JoinColumn(name = "comment_id") | ||
// val comment: Comment, | ||
// | ||
// | ||
// @Temporal(TemporalType.TIMESTAMP) | ||
// @Column(name = "created_at", nullable = false) | ||
// val createDate : Date, | ||
// | ||
// @Column(name = "good") | ||
// var good: Int = 0, | ||
// | ||
// @Column(name = "bad") | ||
// var bad: Int = 0, | ||
// | ||
// @Id | ||
// @GeneratedValue(strategy = GenerationType.AUTO) | ||
// @Column(name = "sub_comment_id") | ||
// val id: Long? = null | ||
//) |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
2 changes: 0 additions & 2 deletions
2
util/src/main/kotlin/com/van1164/common/domain/comment/CommentBad.kt
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: 0 additions & 2 deletions
2
util/src/main/kotlin/com/van1164/common/domain/comment/CommentLike.kt
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
43 changes: 0 additions & 43 deletions
43
util/src/main/kotlin/com/van1164/common/redis/RedisR2dbcRepository.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.