package com.sonymusic.dx.persistence.gras;

import jakarta.persistence.Column;
import jakarta.persistence.MappedSuperclass;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
 * Basic GRAS entity that contains data specific to one client. This interface
 * exposes the clientKey attribute that is used in the primary key of many
 * entities.
 */
@MappedSuperclass
@Getter
@Setter
public abstract class RAASClientSpecificEntity extends RAASEntity {

	private static final long serialVersionUID = 1L;

	@NotNull
	@Column(name = "client_key")
	private String clientKey = "0000";

}
