Done ticket GEPAFINBE-195
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
package net.gepafin.tendermanagement.entities;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.annotations.Immutable;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Entity
|
||||
@Immutable
|
||||
@Table(name = "application_amendment_request_view")
|
||||
@Getter
|
||||
@Setter
|
||||
@IdClass(ApplicationAmendmentRequestViewId.class)
|
||||
public class ApplicationAmendmentRequestView {
|
||||
|
||||
|
||||
@Id
|
||||
@Column(name = "ID")
|
||||
private Long id;
|
||||
|
||||
@Column(name = "APPLICATION_ID")
|
||||
private Long applicationId;
|
||||
|
||||
@Column(name = "PROTOCOL_NUMBER")
|
||||
private Long protocolNumber;
|
||||
|
||||
@Column(name = "CALL_NAME")
|
||||
private String callName;
|
||||
|
||||
@Column(name = "COMPANY_NAME")
|
||||
private String companyName;
|
||||
|
||||
@Column(name = "START_DATE")
|
||||
private LocalDateTime startDate;
|
||||
|
||||
@Column(name = "EXPIRATION_DATE")
|
||||
private LocalDateTime expirationDate;
|
||||
|
||||
@Column(name = "ASSIGNED_USER_NAME")
|
||||
private String assigendUserName;
|
||||
|
||||
@Column(name = "ASSIGNED_USER_ID")
|
||||
private Long assignedUserId;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
private String status;
|
||||
|
||||
@Column(name = "NOTE")
|
||||
private String note;
|
||||
|
||||
@Column(name = "INTERNAL_NOTE")
|
||||
private String internalNote;
|
||||
|
||||
@Column(name = "APPLICATION_USER_ID")
|
||||
private Long applicationUserId;
|
||||
|
||||
@Column(name = "CREATED_DATE")
|
||||
private String createdDate;
|
||||
|
||||
@Column(name = "UPDATED_DATE")
|
||||
private String updatedDate;
|
||||
|
||||
@Column(name = "IS_DELETED")
|
||||
private Boolean isDeleted;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package net.gepafin.tendermanagement.entities;
|
||||
|
||||
public class ApplicationAmendmentRequestViewId {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Long id;
|
||||
|
||||
public ApplicationAmendmentRequestViewId() {
|
||||
}
|
||||
|
||||
public ApplicationAmendmentRequestViewId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
@@ -80,7 +80,7 @@ public class ApplicationView implements Serializable {
|
||||
private Long protocolNumber;
|
||||
|
||||
@Column(name = "ASSIGNED_USER_ID")
|
||||
private Long assigned_user_id;
|
||||
private Long assignedUserId;
|
||||
|
||||
@Column(name = "ASSIGNED_USER_NAME")
|
||||
private String assignedUserName;
|
||||
|
||||
Reference in New Issue
Block a user