57 lines
1.5 KiB
Java
57 lines
1.5 KiB
Java
package net.gepafin.tendermanagement.entities;
|
|
|
|
import jakarta.persistence.Column;
|
|
import jakarta.persistence.Entity;
|
|
import jakarta.persistence.Table;
|
|
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
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;
|
|
}
|