comparison 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
comparison
equal deleted inserted replaced
0:64e2ebad3366 1:60afb461bf6c
1 package de.comline.spring.model.json;
2
3 import com.fasterxml.jackson.annotation.JsonProperty;
4
5 public class Greeting {
6 @JsonProperty("msg")
7 private String message;
8
9 public Greeting(String message) {
10 this.message = message;
11 }
12
13 public String getMessage() {
14 return message;
15 }
16 }