package com.ff.api.request;

import com.dtflys.forest.annotation.BaseRequest;
import com.ff.base.core.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 游戏获得免费游戏游玩记录
 *
 * @author shi
 * @date 2025/02/13
 */
@Data
public class GameGetFreeSpinDashflowRequest implements Serializable {
    private static final long serialVersionUID = 1871368632132480179L;

    /**
     * 货币代码
     */
    @NotBlank(message = "currencyCode不能为空")
    private String currencyCode;

    /**
     * 平台代码
     */
    @NotBlank(message = "platformCode不能为空")
    private String platformCode;


    /**
     * 游戏id
     */
    private Long gameId;


    /**
     * 页码，默认第1页，按订单更新时间正序返回数据
     */
    @Min(value = 1, message = "pageNo最小值为1")
    private Integer pageNo=1;



    /**
     * 页容量，默认200，最大2000
     */
    @Min(value = 1, message = "pageSize最小值为1")
    @Max(value = 2000, message = "pageSize最大值为2000")
    private Integer pageSize=200;

}
