행위정보 코드 테이블 변경 적용 및 면적 컬럼 추가
parent
cc10373e32
commit
2cd68a294a
@ -0,0 +1,16 @@
|
|||||||
|
create table tb_act_type
|
||||||
|
(
|
||||||
|
ACT_TYPE_CD varchar(3) not null comment '행위 유형 코드'
|
||||||
|
primary key,
|
||||||
|
VLTN_BDST varchar(100) null comment '위반 건축물',
|
||||||
|
LAWLPRVS varchar(100) null comment '법조문',
|
||||||
|
CMPTTN_RT decimal(3) null comment '산정 률',
|
||||||
|
VLTN_BDST_DTL varchar(1000) null comment '위반 건축물 상세',
|
||||||
|
USE_YN char not null comment '사용 여부',
|
||||||
|
REG_DT datetime null comment '등록 일시',
|
||||||
|
RGTR varchar(11) null comment '등록자',
|
||||||
|
MDFCN_DT datetime null comment '수정 일시',
|
||||||
|
MDFR varchar(11) null comment '수정자'
|
||||||
|
)
|
||||||
|
comment '행위 유형';
|
||||||
|
|
||||||
@ -0,0 +1,39 @@
|
|||||||
|
package go.kr.project.crdn.crndRegistAndView.crdnActInfo.model;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import lombok.*;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 불법위반행위정보 VO
|
||||||
|
* 중요한 로직 주석: tb_cmpttn_rt 테이블과 매핑되며, 목록 조회 시 위반행위코드를 함께 제공하기 위해 필드를 포함한다.
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class CrdnActTypeVO {
|
||||||
|
|
||||||
|
// ============ 테이블 컬럼 ============
|
||||||
|
private String actTypeCd;
|
||||||
|
private String vltnBdst;
|
||||||
|
private String lawlprvs;
|
||||||
|
private BigDecimal cmpttnRt;
|
||||||
|
private String vltnBdstDtl;
|
||||||
|
private String useYn;
|
||||||
|
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Seoul")
|
||||||
|
private LocalDateTime regDt; // 등록 일시
|
||||||
|
private String rgtr; // 등록자
|
||||||
|
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Seoul")
|
||||||
|
private LocalDateTime mdfcnDt; // 수정 일시
|
||||||
|
private String mdfr; // 수정자
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue