package com.vetti.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ID
 * @date 2025/8/28 14:00
 */
@Data
@Component
@ConfigurationProperties(prefix = "twilio.sendgrid")
public class TwilioConfig {
    private String apiKey;
    private String fromEmail;
    private String fromName;
    private String fromEmailEm7941;
    private String fromNameEm7941;
    private String replyToEm7941;
    private TemplateIds templateIds;


    @Data
    public static class TemplateIds {
        private String routezVerificationCode;
        private String interviewTemplateCode;
    }

}
