22 lines
496 B
Java
22 lines
496 B
Java
package net.gepafin.tendermanagement.entities;
|
|
|
|
import jakarta.persistence.*;
|
|
import lombok.*;
|
|
import org.hibernate.annotations.Where;
|
|
|
|
@Entity
|
|
@Table(name = "APPLICATION_FORM")
|
|
@Data
|
|
@Where(clause = "is_deleted = false")
|
|
public class ApplicationFormEntity extends BaseEntity {
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "APPLICATION_ID", nullable = false)
|
|
private ApplicationEntity application;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "FORM_ID", nullable = false)
|
|
private FormEntity form;
|
|
|
|
}
|