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

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

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

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

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

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

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

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

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

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

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

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

}