package com.ltgk.common.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "sensitive-words")
@Data
public class SensitiveWordsProperties {
    @ApiModelProperty("常见中文名")
    private List<String> chineseNames;
    @ApiModelProperty("常见英文名")
    private List<String> englishNames;
    @ApiModelProperty("常见公司名称")
    private List<String> companyNames;
    @ApiModelProperty("系统敏感词")
    private List<String> systemWords;
    @ApiModelProperty("其他敏感词")
    private List<String> otherSensitive;
}
