package com.yc.ship.module.product.controller.admin.productSpu.refundRuleVO;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 产品退款规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProductRefundRuleRespVO {

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

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

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

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

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

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

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

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

    @Schema(description = "退改规则文本")
    private String refundContent;
}
