package com.seer.teach.mp.service.dto;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

@Data
public class MpTemplateMessageDTO {

    @NotBlank(message = "appId不能为空")
    private String appId;

    @NotBlank(message = "通知类型不能为空")
    private String notifyType;

    private List<Integer> userIds;

    private List<Integer> groupIds;

    @NotBlank(message = "业务ID不能为空")
    private String businessId;

    @NotNull(message = "data不能为空")
    private Map<String, Object> data;

    @NotBlank(message = "模板ID不能为空")
    private String templateId;

    private String url;

    private String miniProgramAppId;

    private String miniProgramPagePath;
}
