Skip to content

Commit

Permalink
[Refactor/#277] setting not null at teamRequest dto
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Jeong committed May 31, 2024
1 parent 749aa08 commit 2026617
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.example.waggle.domain.schedule.persistence.entity.TeamColor;
import com.example.waggle.global.annotation.valid.enums.ValidEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
Expand All @@ -17,6 +18,7 @@ public class TeamRequest {
private String name;
private String description;
private String coverImageUrl;
@NotNull
private Boolean isPrivate;

@ValidEnum(target = TeamColor.class)
Expand Down

0 comments on commit 2026617

Please sign in to comment.