Updated Document entity to work with sourceId instead of callId

This commit is contained in:
harish
2024-09-10 12:16:59 +05:30
parent 2d5aeb95b5
commit 4929dc01ce
11 changed files with 94 additions and 40 deletions

View File

@@ -20,14 +20,13 @@ public class DocumentEntity extends BaseEntity{
@Column(name="TYPE")
private String type;
@ManyToOne
@JoinColumn(name = "CALL_ID")
private CallEntity call;
@Column(name="SOURCE")
private String source;
@Column(name="SOURCE_ID")
private Long sourceId;
@Column(name = "DESCRIPTION", columnDefinition = "TEXT")
private String description;
@Column(name ="IS_DELETED", nullable = false)
private Boolean isDeleted = false;
}