/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: ShoppingCartUpdateRequestVo
 * @Package cn.freemud.entities.vo
 * @Description:
 * @author: ping.wu
 * @date: 2018/5/22 10:42
 * @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.constraints.NotNull;

@Data
public class UpdateShoppingCartGoodsQtyRequestVo {

    @NotEmpty(message = "sessionId不能为空")
    private String sessionId;
    /**
     * 商户Id
     */
    @NotEmpty(message = "partnerId不能为空")
    private String partnerId;
    /**
     * 门店Id
     */
    @NotEmpty(message = "shopId不能为空")
    private String shopId;

    @NotEmpty(message = "appId不能为空")
    private String appId;
    /**
     * 购物车一行的ID
     */
    @NotEmpty(message = "cartGoodsUid不能为空")
    private String cartGoodsUid;

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

    /**
     * 下单类型 CreateOrderType 自取和外卖
     */
    private Integer orderType;

    private String version;

}
