package com.qqchen.deploy.backend.notification.entity.config;

import com.qqchen.deploy.backend.notification.enums.NotificationChannelTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 企业微信通知配置DTO
 *
 * @author qqchen
 * @since 2025-11-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WeworkNotificationConfig extends BaseNotificationConfig {
    
    /**
     * 企业微信机器人 Webhook Key（必填）
     * 完整URL格式: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key={key}
     */
    private String key;
    
    @Override
    public NotificationChannelTypeEnum getChannelType() {
        return NotificationChannelTypeEnum.WEWORK;
    }
}

