Updated Document entity to work with sourceId instead of callId
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user