package com.ikon.projectmanagement.entity;

import java.util.UUID;

import jakarta.persistence.*;
import lombok.*;

@Entity
@Table(name = "product_ps_quotation")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ProductPSQuotation {

    @Id
    @GeneratedValue(strategy = GenerationType.UUID)
    private UUID id;

    private String itemKey; // original map key

    private String role;
    private Double totalFTE;
    private Double scr;
    private Double expenses;
    private Double otherCosts;
    private Double billingAmount;

    @ManyToOne
    @JoinColumn(name = "deal_identifier" )
    private ProductOfProject productPS;
}
