package com.izouma.nineth.dto;

import lombok.Data;

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

@Data
public class MqCreateDto {
    /**
     * 藏品Id
     */
    @NotNull(message = "藏品Id不能为空")
    private Long collectionId;
    /**
     * 购买数量
     */
    private int qty;
    /**
     * 验证码token
     */
    @NotNull(message = "参数效验失败")
    private String validateCode;
    /**
     * 验证码key
     */
    @NotNull(message = "参数效验失败")
    private String key;
    /**
     * 验证码value
     */
    @NotNull(message = "参数效验失败")
    private String code;
    /**
     * 地址码
     */
    private Long addressId;
    /**
     * 兑换券
     */
    private Long couponId;
    /**
     * 邀请人
     */
    private Long invitor;
    /**
     * 兑换券集合
     */
    private List<Long> couponIds;
}
