Skip to content

Commit

Permalink
refactor :: projectNameKo -> projectName
Browse files Browse the repository at this point in the history
  • Loading branch information
4mjeo committed Feb 26, 2024
1 parent 3a3d4c5 commit dd2524e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private class DeployServiceImpl(
deployClient.createDeploy(
FeignCreateDeployRequest(
email = user.email,
nameKo = deploy.project.projectNameKo,
nameKo = deploy.project.projectName,
nameEn = deploy.containerName,
team = deploy.project.teamNameEn,
repository = DeployUtil.getRepository(deploy.githubUrl),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Project(
id: UUID? = null,
user: User,
logo: String,
projectNameKo: String,
projectName: String,
projectNameEn: String,
teamNameEn: String,
description: String,
Expand All @@ -40,8 +40,8 @@ class Project(
var logo: String = logo
protected set

@Column(name = "projectNameKo", columnDefinition = "VARCHAR(100)", nullable = false)
var projectNameKo: String = projectNameKo
@Column(name = "projectName", columnDefinition = "VARCHAR(100)", nullable = false)
var projectName: String = projectName
protected set

@Column(name = "projectNameEn", columnDefinition = "VARCHAR(100)", nullable = false)
Expand Down Expand Up @@ -86,7 +86,7 @@ class Project(
id = this.id!!,
logo = this.logo,
studentName = this.user.studentName,
projectNameKo = this.projectNameKo,
projectName = this.projectName,
projectNameEn = this.projectNameEn,
teamNameEn = this.teamNameEn,
description = this.description,
Expand All @@ -102,7 +102,7 @@ class Project(

fun toListResponse() = ProjectListResponse(
this.id!!,
this.projectNameKo,
this.projectName,
this.teamNameEn,
this.logo,
this.date,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import javax.validation.constraints.Pattern
data class RegisterProjectRequest(

@field:NotBlank(message = "null이 될 수 없습니다.")
val projectNameKo: String,
val projectName: String,

@field:NotBlank(message = "null이 될 수 없습니다.")
val projectNameEn: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data class ProjectDetailResponse(
val logo: String,
val studentName: String,
val teamNameEn: String,
val projectNameKo: String,
val projectName: String,
val projectNameEn: String,
val description: String,
val appStoreUrl: String?,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import java.util.*

data class ProjectListResponse(
val id: UUID,
val projectNameKo: String,
val projectName: String,
val teamNameEn: String,
val logo: String,
val date: LocalDate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ProjectServiceImpl (
null,
user,
logoUrl,
req.projectNameKo,
req.projectName,
req.projectNameEn,
req.teamNameEn,
req.description,
Expand Down Expand Up @@ -86,7 +86,7 @@ class ProjectServiceImpl (
projectId,
user,
logoUrl,
project.projectNameKo,
project.projectName,
project.projectNameEn,
project.teamNameEn,
req.description,
Expand Down

0 comments on commit dd2524e

Please sign in to comment.