|
@@ -9,6 +9,7 @@ import lombok.*;
|
|
|
|
|
|
import javax.validation.constraints.Pattern;
|
|
|
import javax.validation.constraints.Positive;
|
|
|
+import javax.validation.constraints.PositiveOrZero;
|
|
|
import javax.validation.constraints.Size;
|
|
|
import java.io.Serializable;
|
|
|
|
|
@@ -169,6 +170,27 @@ public class TbVmsCtlrDto implements Serializable {
|
|
|
@JsonProperty("strm_rtsp_addr")
|
|
|
private String strmRtspAddr;
|
|
|
|
|
|
+
|
|
|
+ @ApiModelProperty("WEB RTC 서버 아이피") // Y VARCHAR2(20)
|
|
|
+ @JsonProperty("web_rtc_svr_ip")
|
|
|
+ private String webRtcSvrIp;
|
|
|
+
|
|
|
+ @ApiModelProperty("WEB RTC 서버 포트") // Y NUMBER(5)
|
|
|
+ @JsonProperty("web_rtc_svr_port")
|
|
|
+ private Integer webRtcSvrPort;
|
|
|
+
|
|
|
+ @ApiModelProperty("WEB RTC ID") // Y VARCHAR2(56)
|
|
|
+ @JsonProperty("web_rtc_id")
|
|
|
+ private String webRtcId;
|
|
|
+
|
|
|
+ @ApiModelProperty("CCTV 대체 영상 이미지 번호") // Y VARCHAR2(5)
|
|
|
+ @JsonProperty("altt_imag_nmbr")
|
|
|
+ private String alttImagNmbr;
|
|
|
+
|
|
|
+ @ApiModelProperty("CCTV 대체 표출 여부") // Y CHAR(1)
|
|
|
+ @JsonProperty("altt_imag_dspl_yn")
|
|
|
+ private String alttImagDsplYn;
|
|
|
+
|
|
|
// Code Description Field
|
|
|
@ApiModelProperty("VMS 유형 코드(TB_VMS_TYPE) 설명")
|
|
|
@JsonProperty("vms_type_desc") // VMS_TYPE_CD
|
|
@@ -369,8 +391,36 @@ public class TbVmsCtlrDto implements Serializable {
|
|
|
@Size(min=1, max=200)
|
|
|
private String strmRtspAddr;
|
|
|
|
|
|
+ @ApiModelProperty("WEB RTC 서버 아이피, Nullable = Y, VARCHAR2(20)") // Y VARCHAR2(20)
|
|
|
+ @JsonProperty("web_rtc_svr_ip")
|
|
|
+ @Size(min=0, max=20)
|
|
|
+ private String webRtcSvrIp;
|
|
|
+
|
|
|
+ @ApiModelProperty("WEB RTC 서버 포트, Nullable = Y, NUMBER(5)") // Y NUMBER(5)
|
|
|
+ @JsonProperty("web_rtc_svr_port")
|
|
|
+ @PositiveOrZero
|
|
|
+ private Integer webRtcSvrPort;
|
|
|
+
|
|
|
+ @ApiModelProperty("WEB RTC ID, Nullable = Y, VARCHAR2(56)") // Y VARCHAR2(56)
|
|
|
+ @JsonProperty("web_rtc_id")
|
|
|
+ @Size(min=0, max=56)
|
|
|
+ private String webRtcId;
|
|
|
+
|
|
|
+ @ApiModelProperty("CCTV 대체 영상 이미지 번호, Nullable = Y, VARCHAR2(5)") // Y VARCHAR2(5)
|
|
|
+ @JsonProperty("altt_imag_nmbr")
|
|
|
+ @Size(min=1, max=5)
|
|
|
+ private String alttImagNmbr;
|
|
|
+
|
|
|
+ @ApiModelProperty("CCTV 대체 표출 여부, Nullable = Y, CHAR(1)") // Y CHAR(1)
|
|
|
+ @JsonProperty("altt_imag_dspl_yn")
|
|
|
+ @Size(min=1, max=1)
|
|
|
+ @Pattern(regexp = "[YN]")
|
|
|
+ private String alttImagDsplYn;
|
|
|
+
|
|
|
@Builder
|
|
|
- public TbVmsCtlrUpdReq(Long vms_ctlr_nmbr, String vms_ctlr_id, String vms_nm, String vms_ctlr_ip, Integer vms_ctlr_port, Integer vms_ctlr_local_no, String vms_type_cd, String istl_lctn_nm, Double x_crdn, Double y_crdn, String del_yn, String web_cmra_ip, Integer web_cmra_port, String web_cmra_id, String web_cmra_pwd, String strm_sesn_nm, String oper_mode, Integer vms_max_phse_num, Integer def_phse_chng_cycl, String panl_on_time, String panl_off_time, Integer panl_pwer_mode, Integer fan_mode, Integer fan_run_tmpr, Integer hetr_mode, Integer hetr_run_tmpr, Integer brgh_mode, Integer brgh_curr_step, Integer brgh_week_step, Integer brgh_nght_step, Integer modl_err_rate, Integer cmnc_fail_rate, String web_cmra_cmpy, String web_cmra_mdl, String istl_lctn_addr, String strm_http_addr, String strm_rtsp_addr) {
|
|
|
+ public TbVmsCtlrUpdReq(Long vms_ctlr_nmbr, String vms_ctlr_id, String vms_nm, String vms_ctlr_ip, Integer vms_ctlr_port, Integer vms_ctlr_local_no, String vms_type_cd, String istl_lctn_nm, Double x_crdn, Double y_crdn, String del_yn,
|
|
|
+ String web_cmra_ip, Integer web_cmra_port, String web_cmra_id, String web_cmra_pwd, String strm_sesn_nm, String oper_mode, Integer vms_max_phse_num, Integer def_phse_chng_cycl, String panl_on_time, String panl_off_time, Integer panl_pwer_mode, Integer fan_mode, Integer fan_run_tmpr, Integer hetr_mode, Integer hetr_run_tmpr, Integer brgh_mode, Integer brgh_curr_step, Integer brgh_week_step, Integer brgh_nght_step, Integer modl_err_rate, Integer cmnc_fail_rate, String web_cmra_cmpy, String web_cmra_mdl, String istl_lctn_addr, String strm_http_addr, String strm_rtsp_addr,
|
|
|
+ String web_rtc_svr_ip, Integer web_rtc_svr_port, String web_rtc_id, String altt_imag_nmbr, String altt_imag_dspl_yn) {
|
|
|
this.vmsCtlrNmbr = vms_ctlr_nmbr;
|
|
|
this.vmsCtlrId = vms_ctlr_id;
|
|
|
this.vmsNm = vms_nm;
|
|
@@ -408,6 +458,11 @@ public class TbVmsCtlrDto implements Serializable {
|
|
|
this.istlLctnAddr = istl_lctn_addr;
|
|
|
this.strmHttpAddr = strm_http_addr;
|
|
|
this.strmRtspAddr = strm_rtsp_addr;
|
|
|
+ this.webRtcSvrIp = web_rtc_svr_ip;
|
|
|
+ this.webRtcSvrPort = web_rtc_svr_port;
|
|
|
+ this.webRtcId = web_rtc_id;
|
|
|
+ this.alttImagNmbr = altt_imag_nmbr;
|
|
|
+ this.alttImagDsplYn = altt_imag_dspl_yn;
|
|
|
}
|
|
|
|
|
|
public TbVmsCtlr toEntity() {
|
|
@@ -449,6 +504,11 @@ public class TbVmsCtlrDto implements Serializable {
|
|
|
.istlLctnAddr(this.istlLctnAddr)
|
|
|
.strmHttpAddr(this.strmHttpAddr)
|
|
|
.strmRtspAddr(this.strmRtspAddr)
|
|
|
+ .webRtcSvrIp(this.webRtcSvrIp)
|
|
|
+ .webRtcSvrPort(this.webRtcSvrPort)
|
|
|
+ .webRtcId(this.webRtcId)
|
|
|
+ .alttImagNmbr(this.alttImagNmbr)
|
|
|
+ .alttImagDsplYn(this.alttImagDsplYn)
|
|
|
.build();
|
|
|
}
|
|
|
|