Skip to content

Commit

Permalink
투자액, 모집 인원 상한 추가 (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
endermaru authored Feb 5, 2025
1 parent 5ea8eeb commit 7c12129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ data class CreateCompanyRequest(
val slogan: String? = null,
// Defaults to 0 if not provided
@field:Min(value = 0, message = "Invest amount must be non-negative.")
@field:Max(value = 100000, message = "Invest amount must not exceed 100000")
val investAmount: Int? = null,
val investCompany: String? = null,
// @field:URL(message = "Image link must be a valid URL.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ data class CreatePositionRequest(
val category: Category,
val detail: String? = null,
@field:NotBlank(message = "Headcount is required.")
@field:Size(max = 4, message = "Headcount must not exceed 9999.")
val headcount: String,
val employmentEndDate: LocalDateTime? = null,
val isActive: Boolean? = false,
Expand Down

0 comments on commit 7c12129

Please sign in to comment.