resolved conflict
This commit is contained in:
@@ -37,11 +37,28 @@ public class BeneficiaryEntity extends BaseEntity {
|
||||
|
||||
@Column(name = "COUNTRY")
|
||||
private String country;
|
||||
|
||||
|
||||
@Column(name = "CODICE_FISCALE")
|
||||
private String codiceFiscale;
|
||||
|
||||
|
||||
@Column(name = "DATE_OF_BIRTH")
|
||||
private LocalDateTime dateOfBirth;
|
||||
|
||||
|
||||
@Column(name = "PRIVACY")
|
||||
private Boolean privacy;
|
||||
|
||||
@Column(name = "TERMS")
|
||||
private Boolean terms;
|
||||
|
||||
@Column(name = "MARKETING")
|
||||
private Boolean marketing;
|
||||
|
||||
@Column(name = "OFFERS")
|
||||
private Boolean offers;
|
||||
|
||||
@Column(name = "THIRD_PARTY")
|
||||
private Boolean thirdParty;
|
||||
|
||||
@Column(name = "EMAIL_PEC")
|
||||
private String emailPec;
|
||||
}
|
||||
|
||||
@@ -50,4 +50,10 @@ public class CompanyEntity extends BaseEntity{
|
||||
|
||||
@Column(name = "ANNUAL_REVENUE")
|
||||
private BigDecimal annualRevenue;
|
||||
|
||||
@Column(name = "CONTACT_NAME")
|
||||
private String contactName;
|
||||
|
||||
@Column(name = "CONTACT_EMAIL")
|
||||
private String contactEmail;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package net.gepafin.tendermanagement.entities;
|
||||
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.Table;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "user_company_delegation")
|
||||
public class UserCompanyDelegationEntity extends BaseEntity{
|
||||
|
||||
@Column(name="USER_ID")
|
||||
private Long userId;
|
||||
|
||||
@Column(name="COMPANY_ID")
|
||||
private Long companyId;
|
||||
|
||||
@Column(name = "BENEFICIARY_ID")
|
||||
private Long beneficiaryId;
|
||||
|
||||
@Column(name = "FILE_NAME")
|
||||
private String fileName;
|
||||
|
||||
@Column(name = "FILE_PATH")
|
||||
private String filePath;
|
||||
|
||||
@Column(name="STATUS")
|
||||
private String status;
|
||||
|
||||
}
|
||||
@@ -18,5 +18,8 @@ public class UserWithCompanyEntity extends BaseEntity{
|
||||
|
||||
@Column(name = "COMPANY_ID")
|
||||
Long companyId;
|
||||
|
||||
@Column(name = "IS_LEGAL_REPRESENTANT")
|
||||
private Boolean isLegalRepresentant;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user