package cn.axzo.msg.center.service.bizevent.request;

import javax.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author syl
 * @date 2023/12/14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ReachDto {

    /**
     * 业务动作
     * 发送通知 - NOTIFICATION
     * 发送待办 - PENDING
     */
    @NotBlank(message = "业务动作不能为空")
    private String category;

    /**
     * 模板编码
     */
    @NotBlank(message = "消息模板编码不能为空")
    private String templateCode;
}
