package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel(value="UserBuyItemRequest对象", description="领取茶树")
public class UserBuyItemRequest implements Serializable {

    private static final long serialVersionUID = 3481659942630712958L;

    @ApiModelProperty(value = "游戏编号")
    @NotBlank(message = "游戏编号不能为空")
    private String gameId;

    @ApiModelProperty(value = "游戏项")
    @NotBlank(message = "游戏项编号不能为空")
    private String itemId;

    @ApiModelProperty(value = "购买数量")
    @NotBlank(message = "购买数量不能为空")
    private String num;

    private String ip;

}
