package com.kxs.product.api.dto.kxsapp.ticket;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;


/**
 * 兑换券划拨-dto
 *
 * @author 系统
 * @date 2023-12-20 10:09:37
 */
@Data
public class TicketTransferDTO {

    /**
     * 券码类型 0电签 1大pos
     */
    @Schema(description = "券码类型 0电签 1大pos")
    @NotNull(message = "券码类型不能为空")
    private Integer ticketType;


    /**
     * 兑换券集合
     */
    @Schema(description = "兑换券集合")
    @NotEmpty(message = "兑换券不能为空")
    private List<String> ticketCodes;


    /**
     * 创客编号
     */
    @Schema(description = "创客编号")
    @NotBlank(message = "创客编号不能为空")
    private String userCode;




}
