Done ticket GEPAFINBE-3

This commit is contained in:
harish
2024-08-14 15:31:00 +05:30
parent 2773dfa034
commit e09f61f918
51 changed files with 2107 additions and 70 deletions

View File

@@ -0,0 +1,60 @@
package net.gepafin.tendermanagement.entities;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;
import net.gepafin.tendermanagement.entities.BaseEntity;
import java.math.BigDecimal;
@Entity
@Table(name = "\"REGION\"")
@Getter
@Setter
public class RegionEntity extends BaseEntity {
@Column(name = "REGION_NAME", length = 255, nullable = true)
private String regionName;
@Column(name = "DESCRIPTION", length = 255, nullable = true)
private String description;
@Column(name = "COUNTRY", length = 50, nullable = true)
private String country;
@Column(name = "STATUS", length = 30, nullable = true)
private String status;
@Column(name = "PRIORITY_AREA", length = 255, nullable = true)
private String priorityArea;
@Column(name = "POPULATION", nullable = true)
private Long population;
@Column(name = "AREA_SIZE", nullable = true)
private BigDecimal areaSize;
@Column(name = "GDP", nullable = true)
private BigDecimal gdp;
@Column(name = "UNEMPLOYMENT_RATE", nullable = true)
private BigDecimal unemploymentRate;
@Column(name = "INFRASTRUCTURE_SCORE", nullable = true)
private BigDecimal infrastructureScore;
@Column(name = "EDUCATION_LEVEL", nullable = true)
private BigDecimal educationLevel;
@Column(name = "HEALTHCARE_ACCESS", nullable = true)
private BigDecimal healthcareAccess;
@Column(name = "ENVIRONMENTAL_SCORE", nullable = true)
private BigDecimal environmentalScore;
}