package org.agt.module.license.controller.admin.alert.vo;

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;
import java.util.List;

@Schema(description = "管理后台 - 告警 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AlertRespVO {

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

    @Schema(description = "提醒人")
    @ExcelProperty("提醒人")
    private List<Long> users;

    @Schema(description = "提醒天数")
    @ExcelProperty("提醒天数")
    private List<Integer> days;

    @Schema(description = "提醒内容")
    @ExcelProperty("提醒内容")
    private String content;

    @Schema(description = "状态-是否启用", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态-是否启用")
    private Integer status;

    @Schema(description = "模板code")
    @ExcelProperty("模板code")
    private String templateCode;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}