package com.honey.honey.dto;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class JoinRoundRequest {
    @NotNull(message = "Room number is required")
    @Min(value = 1, message = "Room number must be between 1 and 3")
    @Max(value = 3, message = "Room number must be between 1 and 3")
    private Integer roomNumber;
    
    @NotNull(message = "Bet amount is required")
    @Positive(message = "Bet amount must be a positive integer")
    private Long betAmount;
}

