package com.writeoff.module.notification.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class CreateNotificationPolicyRequest {
    @NotBlank(message = "策略名称不能为空")
    private String policyName;
    @NotBlank(message = "事件编码不能为空")
    private String eventCode;
    @NotBlank(message = "通知渠道不能为空")
    private String channel;
    @NotBlank(message = "接收对象不能为空")
    private String receiverType;
    @NotNull(message = "文案模板ID不能为空")
    private Long templateId;
    private String variablesJson;
    private String status;

    public String getPolicyName() {
        return policyName;
    }

    public void setPolicyName(String policyName) {
        this.policyName = policyName;
    }

    public String getEventCode() {
        return eventCode;
    }

    public void setEventCode(String eventCode) {
        this.eventCode = eventCode;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getReceiverType() {
        return receiverType;
    }

    public void setReceiverType(String receiverType) {
        this.receiverType = receiverType;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getVariablesJson() {
        return variablesJson;
    }

    public void setVariablesJson(String variablesJson) {
        this.variablesJson = variablesJson;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
