Updated notification code.
This commit is contained in:
@@ -28,4 +28,6 @@ public class NotificationEntity extends BaseEntity {
|
|||||||
@Column(name = "REDIRECT_LINK")
|
@Column(name = "REDIRECT_LINK")
|
||||||
String redirectLink;
|
String redirectLink;
|
||||||
|
|
||||||
|
@Column(name = "USER_WITH_COMPANY_ID")
|
||||||
|
Long userWithCompanyId;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
package net.gepafin.tendermanagement.model.response;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class NotificationResponse {
|
||||||
|
private Long id;
|
||||||
|
private Long userId;
|
||||||
|
private String message;
|
||||||
|
private String notificationType;
|
||||||
|
private String status;
|
||||||
|
private LocalDateTime createdDate;
|
||||||
|
private LocalDateTime updatedDate;
|
||||||
|
private String redirectUrl;
|
||||||
|
private Long companyId;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user