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 ProductRefundRuleRespDTO {

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

    @Schema(description = "手续费规则")
    private String refundFeeRule;

    @Schema(description = "手续费可退开始时间 格式：HH:mm")
    private String refundFeeStartTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "退票规则 查看字典")
    private Integer refundRule;

    @Schema(description = "有效期前后可退天数")
    private Integer refundDay;

    @Schema(description = "可退渠道 0 OTA 1旅行社")
    private String refundChannel;

    @Schema(description = "过期操作类型 0不处理 1自动结算 2自动核销 3自动退票", example = "2")
    private Integer expireOperateType;

}