package com.seer.teach.mp.admin.controller.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Data
public class MpTemplateMessageReq {

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

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

    private List<Integer> userIds;

    private List<Integer> groupIds;

    @NotNull(message = "订单ID不能为空")
    @Schema(description = "订单ID")
    private Integer orderId;

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

    @Schema(description = "跳转链接")
    private String url;

    @Schema(description = "跳转小程序appid")
    private String miniProgramAppId;

    @Schema(description = "跳转小程序页面路径")
    private String miniProgramPagePath;
}