package com.tashow.cloud.sdk.feishu.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 飞书配置类
 * 用于管理飞书应用的配置信息
 */
@Component
@Data
public class LarkConfig {

    @Value("${lark.app.id}")
    private String appId;

    @Value("${lark.app.secret}")
    private String appSecret;

    @Value("${lark.app.encrypt-key}")
    private String encryptKey;

    @Value("${lark.app.verification-token}")
    private String verificationToken;

    @Value("${lark.alert.chat-id}")
    private String chatId;

    @Value("${lark.alert.user-open-ids}")
    private String[] alertUserOpenIds;

    @Value("${lark.alert.exception-card}")
    private String exceptionCards;

    @Value("${lark.alert.success-card}")
    private  String successCards;
}