Skip to content

Commit

Permalink
fix : issue with saving Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Nov 10, 2023
1 parent 1f27dbc commit 6e11467
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
package com.example.graphql.querydsl.entities;

import jakarta.persistence.*;
import jakarta.persistence.Column;
import jakarta.persistence.EmbeddedId;
import jakarta.persistence.Entity;
import jakarta.persistence.FetchType;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.MapsId;
import jakarta.persistence.Table;
import java.time.LocalDateTime;
import java.util.Objects;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Entity(name = "PostTag")
@Table(name = "post_tags")
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class PostTag {

@EmbeddedId
Expand Down

0 comments on commit 6e11467

Please sign in to comment.