Implemented crud operation for form,form-field and form-template
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package net.gepafin.tendermanagement.entities;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
import lombok.Data;
|
||||
import lombok.Builder;
|
||||
|
||||
@Entity
|
||||
@Table(name = "FORM")
|
||||
@Data
|
||||
@Builder
|
||||
public class FormEntity extends BaseEntity{
|
||||
|
||||
@Column(name = "LABEL", length = 255)
|
||||
private String label;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "CALL_ID", foreignKey = @ForeignKey(name = "fk_call_form"))
|
||||
private CallEntity call;
|
||||
|
||||
@Column(name = "CONTENT", length = 255)
|
||||
private String content;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
private Integer orderNo;
|
||||
}
|
||||
Reference in New Issue
Block a user