package com.yc.ship.module.trade.controller.admin.order.vo.check;

import com.yc.ship.module.trade.enums.CheckTargetTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Schema(description = "订单核销 Response VO")
@Data
@Builder
public class TradeCheckRespVO {

    /**
     * 核销对象类型
     * 关联 {@link CheckTargetTypeEnum}
     */
    @Schema(description = "核销对象类型", example = "0")
    private Integer targetType;

    @Schema(description = "核销对象ID", example = "001")
    private Long targetId;

    @Schema(description = "核销对象", example = "NO.1")
    private String targetNo;

    @Schema(description = "核销是否成功 1成功 0失败", example = "0")
    private Integer isSuccess;

    @Schema(description = "核销预检是否成功 1成功 0失败", example = "0")
    private Integer isPreSuccess;

    @Schema(description = "核销信息", example = "xxx")
    private String msg;

    @Schema(description = "产品名称", example = "xxx")
    private String productName;

    @Schema(description = "是否年卡", example = "xxx")
    private Boolean isYearTicket;

    @Schema(description = "General 年卡 short 闪卡", example = "xxx")
    private String type;

}
