package com.clx.performance.param.pc;

import com.msl.common.convertor.field.Converted;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class OrderGoodsParams {

    @ApiModelProperty("订单编号")
    @NotBlank(message = "订单编号不能为空")
    private String orderNo;

    @Valid
    @Converted(isDynamic = true)
    private List<OrderGoodsChildParams> orderGoodsChildParams;
}
