SqlServerBean.java 360 B

12345678910111213141516171819
  1. package com.malk.lanyun.entity;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.stereotype.Component;
  5. @Data
  6. @Component
  7. @ConfigurationProperties(prefix = "sqlserver")
  8. public class SqlServerBean {
  9. private String username;
  10. private String password;
  11. private String url;
  12. }