-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: entity skeleton structure #9
Conversation
λ©ν°λͺ¨λ μ€νμ, Application μ΄ λ€μ΄κ°μλλ° api λͺ¨λμ resource - application.yml μμ λ€λ₯Έ λͺ¨λμ application.yml μ ν¬ν¨νλλ‘ ν μ μμ΅λλ€. spring:
profiles:
active: dev
include: core # μλΆλΆμ΄ λ€λ₯Έ κ³³μ μ μλμ΄μλ application-core.yaml μ΄λ°μ μ§λ νμ μλ μμκ° μλ€μ. https://github.com/mash-up-kr/MOIT-backend/blob/4e53605f9133c531f2508038c3e92cdd8e6aa569/moit-api/src/main/resources/application.yml#L1-L8 μ΄λ ΅λ€λ©΄ κΈμ£Ό ν μμΌμ κ°μ΄λ³΄μλ©΄μ μΈν νμμ£ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λμ€μ index μμ±λ κ³ λ €ν΄λ³΄λ©΄ μ’μ κ² κ°μμ~
|
||
@Entity | ||
@Table(name = "notification") | ||
class Notification( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ν΄λΉ ν΄λμ€λ id νλ νμ μλ κ²μΌκΉμ?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μμ ν΄μ λ°μνμ΅λλ€!
val fullName: String, | ||
@Column(name = "second_initial_name", nullable = false) | ||
val secondInitialName: String, | ||
val profileImageId: String?, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ImageEntityμλ μ°κ΄ κ΄κ³ μνκΈ°λ‘ νμλμ..?! ν΄μ»€ν€ λ κ΄λ ¨ν΄μ μκΈ°λμλ κ² κ°μλ° μ΄λ»κ² νκΈ°λ‘ νμμ£ ..?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ.. ν΄μ»€ν€λ μ΄λ―Έμ§λ λ°λ‘ λκΈ°λ‘ νμλ κ² κ°μμ. λ€μ νμ λ λ€μ μκΈ°ν΄λ³΄κ³ μμ ν΄μΌνλ©΄ μμ νκ² μ΅λλ€!
questionTypeString: String, | ||
categoryString: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ¬κΈ°λ MemberEntityμ Genderμ λμΌνκ² EnumμΌλ‘ λ°λλ‘ μμ ν μ μμ κ² κ°μ΅λλ€!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λ΅ #38 prμμ μμ μλ£ ν΄μ λ¨Έμ§νλ©΄ λ°μλ κ² κ°μ΅λλ€~~
[add] pr template
μμ λ΄μ©
application-entity.yml
νμΌμapplication-entity-prod.yml
,application-entity-local.yml
λ‘ λΆλ¦¬νμ΅λλ€.μ€ν¬λ¦°μ·
1μ°¨ ERD Diagram
μ£Όμμ¬ν