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.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderRefundInfoRequest对象", description="OrderRefundInfoRequest对象")
public class OrderRefundInfoRequest {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商品编号", required = true)
    @NotNull(message = "商品不能为空")
    private Integer productId;

    @ApiModelProperty(value = "商品编号", required = true)
    @NotNull(message = "商品不能为空")
    private String unique;

    @ApiModelProperty(value = "退款数量", required = true)
    @NotNull(message = "退款数量不能为空")
    private Integer returnNum;

}
