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

com.payu.common.client.entity.AbstractEntity Maven / Gradle / Ivy

There is a newer version: 0.0.7
Show newest version
package com.payu.common.client.entity;

import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.MappedSuperclass;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@MappedSuperclass
@Getter
@Setter
@ToString
public abstract class AbstractEntity implements Serializable {
  @Id
  @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_id")
  private Long id;

  protected AbstractEntity() {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy