21 lines
419 B
Java
21 lines
419 B
Java
package net.gepafin.tendermanagement.entities;
|
|
|
|
import jakarta.persistence.*;
|
|
import lombok.*;
|
|
|
|
|
|
@Entity
|
|
@Table(name = "APPLICATION_FORM")
|
|
@Data
|
|
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;
|
|
|
|
}
|