package net.gepafin.tendermanagement.entities; import jakarta.persistence.*; import lombok.Getter; import lombok.Setter; import org.hibernate.annotations.Immutable; import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalTime; @Entity @Immutable @Table(name = "application_form_view") @Getter @Setter @IdClass(ApplicationFormViewId.class) public class ApplicationFormView { @Id @Column(name = "id") private Long id; @Column(name = "application_id") private Long applicationId; @Column(name = "call_id") private Long callId; @Column(name = "form_id") private Long formId; @Column(name = "application_form_id") private Long applicationFormId; @Column(name = "field_id") private String fieldId; @Column(name = "field_label") private String fieldLabel; @Column(name = "field_type") private String fieldType; @Column(name = "field_value") private String fieldValue; @Column(name = "report_enable") private Boolean reportEnable; @Column(name = "report_header") private String reportHeader; @Column(name = "status") private String status; @Column(name = "amount_requested") private BigDecimal amountRequested; @Column(name = "amount_accepted") private BigDecimal amountAccepted; @Column(name = "is_deleted") private boolean isDeleted; @Column(name = "hub_id") private Long hubId; @Column(name = "user_id") private Long userId; @Column(name = "evaluation_version") private String evaluationVersion; @Column(name = "company_id") private Long companyId; @Column(name = "company_name") private String companyName; @Column(name = "company_vat_number") private String companyVatNumber; @Column(name = "codice_ateco") private String codiceAteco; @Column(name = "company_codice_fiscale") private String companyCodiceFiscale; @Column(name = "protocol_number") private Long protocolNumber; @Column(name = "user_codice_fiscale") private String userCodiceFiscale; @Column(name = "user_name") private String userName; @Column(name = "legal_representative") private Boolean legalRepresentative; @Column(name = "call_title") private String callTitle; @Column(name = "call_end_date") private LocalDate callEndDate; @Column(name = "call_end_time") private LocalTime callEndTime; @Column(name = "call_start_date") private LocalDate callStartDate; @Column(name = "call_start_time") private LocalTime callStartTime; @Column(name = "INSTRUCTOR_NAME") private String instructorName; @Column(name = "SUBMISSION_DATE") private LocalDate submissionDate; @Column(name = "SUBMISSION_TIME") private LocalTime submissionTime; }