package cn.axzo.msg.center.notices.manager.support;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * 用户手机配置类
 *
 * @author zhaoyong
 * @see UserCellphoneProperties
 * @since 2021-07-12 16:34
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "user.cellphone")
@RefreshScope
public class UserCellphoneProperties {

  /**
   * 白名单
   */
  private List<String> whitelist = new ArrayList<>();

  /**
   * 黑名单
   */
  private List<String> blacklist = new ArrayList<>();

}
