view spring-boot-playground/src/main/java/de/comline/spring/model/json/Greeting.java @ 14:4594ff529ab1

Noch ein Test ganz ohne Spring hinzugefuegt.
author Dirk Olmes <dirk.olmes@codedo.de>
date Mon, 17 Aug 2020 14:39:26 +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;
	}
}