Files
bflows-bandi-be/src/main/java/net/gepafin/tendermanagement/entities/ApplicationFormEntity.java
2025-06-03 16:57:48 +05:30

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;
}