Beneficiary must be able to add to favorite a Call

This commit is contained in:
harish
2024-10-14 15:39:34 +05:30
parent ee59ae10c4
commit 82bf9ff789
18 changed files with 610 additions and 4 deletions

View File

@@ -0,0 +1,37 @@
package net.gepafin.tendermanagement.entities;
import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
@Entity
@Table(name = "beneficiary_preferred_call")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class BeneficiaryPreferredCallEntity extends BaseEntity{
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(name = "beneficiary_id")
private Long beneficiaryId;
@Column(name = "user_id")
private Long userId;
@Column(name = "company_id")
private Long companyId;
@Column(name = "call_id")
private Long callId;
@Column(name = "STATUS", length = 255)
private String status;
}