package com.yc.ship.module.product.controller.admin.productTakeRule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 产品取票规则新增/修改 Request VO")
@Data
public class ProductTakeRuleSaveReqVO {

    @Schema(description = "主键", example = "3996")
    private Long id;

    @Schema(description = "取票时间类型 0不限 1游玩当日可取 2有效期内可取 3下单日期可取", example = "1")
    @NotEmpty(message = "登取票时间类型不能为空")
    private Integer takeTimeType;

    @Schema(description = "二维码类型 0订单码 1门票码", example = "2")
    private Integer qrcodeType;

    @Schema(description = "打印方式 0不打印 1一人一票 2一订单一票 3一基础产品一票", example = "2")
    @NotEmpty(message = "打印方式不能为空")
    private Integer printType;

    @Schema(description = "打印模版ID")
    private Long printTemp;

}