From 1951e84f213859fb4486b2f19dc827ff3406060d Mon Sep 17 00:00:00 2001 From: minhee <alsdldlfrl@gmail.com> Date: 금, 11 2월 2022 19:30:32 +0900 Subject: [PATCH] - 업체의 카테고리 대분류가 공백인데 중분류 조회되는 문제 해결 - 업체 상태 직접입력 일 경우 사용자가 직접입력한 상태명을 보여주도록 수정 --- src/main/java/kr/wisestone/owl/domain/CompanyField.java | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 56 insertions(+), 4 deletions(-) diff --git a/src/main/java/kr/wisestone/owl/domain/CompanyField.java b/src/main/java/kr/wisestone/owl/domain/CompanyField.java index d733e82..db28cbc 100644 --- a/src/main/java/kr/wisestone/owl/domain/CompanyField.java +++ b/src/main/java/kr/wisestone/owl/domain/CompanyField.java @@ -1,9 +1,6 @@ package kr.wisestone.owl.domain; -import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; +import javax.persistence.*; import java.io.Serializable; @Entity @@ -21,6 +18,13 @@ private String memo; private Long ispId; private Long hostingId; + + private Long companyTypeId; + private Long parentSectorId; + private Long childSectorId; + private Long regionId; + private Long statusId; + private String statusName; public CompanyField() {} @@ -95,4 +99,52 @@ public void setHostingId(Long hostingId) { this.hostingId = hostingId; } + + public Long getCompanyTypeId() { + return companyTypeId; + } + + public void setCompanyTypeId(Long companyTypeId) { + this.companyTypeId = companyTypeId; + } + + public Long getParentSectorId() { + return parentSectorId; + } + + public void setParentSectorId(Long parentSectorId) { + this.parentSectorId = parentSectorId; + } + + public Long getChildSectorId() { + return childSectorId; + } + + public void setChildSectorId(Long childSectorId) { + this.childSectorId = childSectorId; + } + + public Long getRegionId() { + return regionId; + } + + public void setRegionId(Long regionId) { + this.regionId = regionId; + } + + public Long getStatusId() { + return statusId; + } + + public void setStatusId(Long statusId) { + this.statusId = statusId; + } + + public String getStatusName() { + return statusName; + } + + public void setStatusName(String statusName) { + this.statusName = statusName; + } } -- Gitblit v1.8.0