updated code

This commit is contained in:
rajesh
2025-02-25 13:42:38 +05:30
parent cca4c46976
commit 46e603af3e
19 changed files with 104 additions and 111 deletions

View File

@@ -39,8 +39,8 @@ public class CompanyDocumentEntity extends BaseEntity {
private UserWithCompanyEntity userWithCompany;
@ManyToOne
@JoinColumn(name = "CATEGORY_ID")
private CategoryEntity categoryEntity;
@JoinColumn(name = "DOCUMENT_CATEGORY_ID")
private DocumentCategoryEntity categoryEntity;
}

View File

@@ -6,9 +6,9 @@ import jakarta.persistence.Table;
import lombok.Data;
@Entity
@Table(name = "category")
@Table(name = "document_category")
@Data
public class CategoryEntity extends BaseEntity {
public class DocumentCategoryEntity extends BaseEntity {
@Column(name = "CATEGORY_NAME")
private String categoryName;