Mercurial > hg > SpringPlayground
view spring-boot-playground/src/main/java/de/comline/spring/model/json/Greeting.java @ 1:60afb461bf6c
Import des Spring boot playground
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Tue, 11 Aug 2020 16:08:16 +0200 |
parents | |
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; } }