package cn.freemud.entities.vo;

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

import javax.validation.constraints.NotNull;

/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @version V1.5.2
 * @Title: AddGoodsByWeixinCardRequestVo
 * @Package cn.freemud.entities.vo
 * @Description: 简单描述下这个类是做什么用的
 * @author: hang.chai
 * @date: 2019/1/12 21:06
 * @Copyright: 2019 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
@Data
public class AddGoodsByWeixinCardRequestVo {

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

    /**
     * 微信appId
     */
    @NotEmpty(message = "appId不能为空")
    private String appId;

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

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

    @NotNull(message = "couponType不能为空")
    private Integer couponType;



    private String skuId;

    /**
     * 业务类型： 0 : 自提 1：外卖 2：微商城
     */
    private Integer menuType ;
}
