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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 告警新增/修改 Request VO")
@Data
public class AlertSaveReqVO {

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

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

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

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

    @Schema(description = "状态-是否启用", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态-是否启用不能为空")
    private Integer status;

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

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

}