Skip to content

[Feat] Vote Service 사용자가 투표 마감 시간 설정할 수 있도록 추가 #157

@slay1379

Description

@slay1379

📌Feature Issue

투표 제안 시 사용자가 투표 기간을 직접 설정할 수 있는 기능을 추가하였습니다.

📚 To-do

  • ProposalCreateRequest.java에 durationMinutes 필드 추가
  • ProposalService.calculateVoteCloseTime() 메서드 수정
  • 유효성 검증 어노테이션 추가 (@min(1) @max(1440))
  • 기본값 처리 로직 구현 (설정되지 않은 경우 60분)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions