package com.jiayue.insu.inclientqn.model;

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

import java.util.List;

/**
 * @description:
 * @author: yuanhao
 * @createDate: 2021/9/27
 * @version: 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "allinone")
@Data
public class Projects {

    public static List<ElVo> els;   //static 才能拿配置值

    public static List<ElVo> getEls() {
        return els;
    }

    public void setEls(List<ElVo> list) {
        Projects.els = list;
    }
}
