Skip to content

Commit

Permalink
fix: fixed the bug in the Find All Item API
Browse files Browse the repository at this point in the history
- fixed invalid working of gte, lte options
  • Loading branch information
slowhigh committed Jun 8, 2024
1 parent 22796fb commit 7a375a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/rest/dto/item_dto/find_all_dto.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

type FindAllItemReq struct {
Company *string `form:"company" binding:"omitempty,min=1"` // 회사 이름 검색 키워드
CompanySize *[]entity.CompanySizeType `form:"company_size" binding:"omitempty,gte=0,lte=4"` // 회사 규모 (0:스타트업, 1:중소기업, 2:중견기업, 3:대기업, 4:외국계)
CompanySize *[]entity.CompanySizeType `form:"company_size" binding:"omitempty"` // 회사 규모 (0:스타트업, 1:중소기업, 2:중견기업, 3:대기업, 4:외국계)
JobTags *[]int64 `form:"job_tags" binding:"omitempty"` // 관련 직무 DB ID 배열
SkillTags *[]int64 `form:"skill_tags" binding:"omitempty"` // 관련 스킬 DB ID 배열
Page *int `form:"page" binding:"required,gte=1"` // 페이지
Expand Down

0 comments on commit 7a375a0

Please sign in to comment.