Mercurial > hg > SpringPlayground
view spring-boot-playground/src/main/java/de/comline/spring/model/json/Greeting.java @ 20:452cfefb0e1e default tip
Einfache Spring Application, die ihre config aus dem Spring Cloud Config Server liest
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 17 Sep 2020 17:25:15 +0200 |
parents | 60afb461bf6c |
children |
line wrap: on
line source
package de.comline.spring.model.json; import com.fasterxml.jackson.annotation.JsonProperty; public class Greeting { @JsonProperty("msg") private String message; public Greeting(String message) { this.message = message; } public String getMessage() { return message; } }