12345678910111213141516171819 |
- package com.malk.lanyun.entity;
- import lombok.Data;
- import org.springframework.boot.context.properties.ConfigurationProperties;
- import org.springframework.stereotype.Component;
- @Data
- @Component
- @ConfigurationProperties(prefix = "sqlserver")
- public class SqlServerBean {
- private String username;
- private String password;
- private String url;
- }
|