package com.czg.account.param;

import com.czg.validator.group.DefaultGroup;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 订阅消息推送配置入参
 *
 * @author tankaikai
 * @since 2025-03-14 11:31
 */
@Data
public class ShopPushConfigParam implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 订阅用户id
     */
    @NotNull(message = "订阅用户id不能为空", groups = DefaultGroup.class)
    private Long id;
    /**
     * 类型 耗材推送 con 商品推送 pro 操作预警 ope
     */
    private List<String> typeInfo;
}
