package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

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

    private static final long serialVersionUID = 3481659942630712958L;

    @ApiModelProperty(value = "茶树编号")
    @NotBlank(message = "茶树编号不能为空")
    private String teaPlantId;

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

    private String ip;

}
