package com.yc.ship.module.product.api.dto;

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

import java.time.LocalDateTime;

@Schema(description = "RPC 服务 - Product 产品核销规则 Response DTO")
@Data
public class ProductCheckRuleRespDTO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "14139")
    private Long id;

    @Schema(description = "是否取票即检票")
    private Integer isTakeCheck;

    @Schema(description = "是否购买即核销")
    private Integer isBuyCheck;

    @Schema(description = "入园验证 0整批入园 1分批入园", example = "2")
    private Integer enterVerifyType;

    @Schema(description = "核销方式 0二维码 1身份证 2人像 3人证比对", example = "1")
    private String checkType;

    @Schema(description = "验证规则 0取票后可用 1预约后可用")
    private Integer checkRule;

    @Schema(description = "检票语音内容")
    private String checkVoice;

    @Schema(description = "检票语音是否为产品名称")
    private Integer checkVoiceProduct;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

}