/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: ShoppingCartProductVo
 * @Package cn.freemud.entities.vo
 * @Description:
 * @author: ping.wu
 * @date: 2018/5/21 19:56
 * @version V1.0
 * @Copyright: 2018 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
package cn.freemud.entities.vo;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

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

@Data
public class ShoppingCartProductVo {

    @NotEmpty(message = "productId不能为空")
    private String productId;

    @NotEmpty(message = "productName不能为空")
    private String productName;

    @NotNull(message = "商品数量不能为空")
    private Integer qty;

    private Integer status;

    private String statusDesc;

    @Valid
    private List<ExtraProductVo> extra;

}
