All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fi.evolver.basics.spring.messaging.entity.MessageMetadataLite Maven / Gradle / Ivy

There is a newer version: 6.7.0
Show newest version
package fi.evolver.basics.spring.messaging.entity;

import jakarta.persistence.*;

@Entity
@Table(name="message_metadata")
public class MessageMetadataLite {

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private long id;

	@Column(name="key")
	private String key;

	@Column(name="data")
	private String value;

	@ManyToOne
	@JoinColumn(name="message_data_id", referencedColumnName = "message_data_id")
	private MessageLite message;


	public String getKey() {
		return key;
	}

	public String getValue() {
		return value;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy