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

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

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

    @Schema(description = "是否预定后通知")
    @ExcelProperty("是否预定后通知")
    private Integer isBookNotice;

    @Schema(description = "预定通知内容，也可是模版ID")
    @ExcelProperty("预定通知内容，也可是模版ID")
    private String bookNoticeContent;

    @Schema(description = "是否退款后通知")
    @ExcelProperty("是否退款后通知")
    private Integer isRefundNotice;

    @Schema(description = "退款通知内容，也可是模版ID")
    @ExcelProperty("退款通知内容，也可是模版ID")
    private String refundNoticeContent;

    @Schema(description = "过期多少天通知 -1不通知")
    @ExcelProperty("过期多少天通知 -1不通知")
    private Integer expireNoticeDay;

    @Schema(description = "过期通知内容")
    @ExcelProperty("过期通知内容")
    private String expireNoticeContent;

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

    @Schema(description = "预定通知类型", example = "2")
    @ExcelProperty("预定通知类型")
    private Integer bookNoticeType;

    @Schema(description = "退款通知类型", example = "2")
    @ExcelProperty("退款通知类型")
    private Integer refundNoticeType;

    @Schema(description = "过期通知类型", example = "2")
    @ExcelProperty("过期通知类型")
    private Integer expireNoticeType;

}