Skip to content

Commit

Permalink
refactor : 코드리뷰 피드백 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
soleu committed Oct 14, 2024
1 parent d611b68 commit c20d622
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file modified src/main/images/ERD_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/get_offer/payment/Payment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class Payment(

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long? = null,
val id: Long = 0L,
) : AuditingTimeEntity()
2 changes: 1 addition & 1 deletion src/main/kotlin/com/get_offer/product/domain/Product.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ class Product(

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long? = null,
val id: Long = 0L,
) : AuditingTimeEntity()
2 changes: 1 addition & 1 deletion src/main/kotlin/com/get_offer/user/domain/User.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class User(

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long? = null,
val id: Long = 0L,
) : AuditingTimeEntity()
2 changes: 1 addition & 1 deletion src/main/kotlin/com/get_offer/user/service/UserInfoDto.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.get_offer.user.service
import com.get_offer.user.domain.User

data class UserInfoDto(
val id: Long?,
val id: Long,
val profileImage: String,
val nickname: String,
) {
Expand Down

0 comments on commit c20d622

Please sign in to comment.