feat: 카카오톡 추가 반영 - send

- 카카오톡 API키 컬럼 추가
main
Jonguk. Lim 2 months ago
parent bbb68f6521
commit 379653e497

@ -1,20 +1,19 @@
package cokr.xit.ens.modules.common.ctgy.sys.mng.domain; package cokr.xit.ens.modules.common.ctgy.sys.mng.domain;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.time.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table; import javax.persistence.Table;
import java.time.LocalDateTime; import javax.persistence.*;
import org.hibernate.annotations.*;
import com.fasterxml.jackson.databind.annotation.*;
import com.fasterxml.jackson.datatype.jsr310.deser.*;
import com.fasterxml.jackson.datatype.jsr310.ser.*;
import lombok.*;
import lombok.experimental.*;
//@Data //@Data
@Entity @Entity
@ -39,7 +38,7 @@ public class OrgMng {
@Setter @Setter
private String orgNm; private String orgNm;
@Column(name = "regist_dt", nullable = true) @Column(name = "regist_dt", nullable = true)
@CreationTimestamp @CreationTimestamp
@JsonSerialize(using = LocalDateTimeSerializer.class) @JsonSerialize(using = LocalDateTimeSerializer.class)
@ -54,20 +53,20 @@ public class OrgMng {
private LocalDateTime lastUpdtDt; private LocalDateTime lastUpdtDt;
@Column(name = "kko_md_access_token", nullable = true, length = 50) @Column(name = "kko_md_access_token", nullable = true, length = 50)
@Setter @Setter
private String kkoMdAccessToken; private String kkoMdAccessToken;
@Column(name = "kko_md_contract_uuid", nullable = true, length = 50) @Column(name = "kko_md_contract_uuid", nullable = true, length = 50)
@Setter @Setter
private String kkoMdContractUuid; private String kkoMdContractUuid;
@Column(name = "kko_bp_biller_code", nullable = true, length = 30) @Column(name = "kko_bp_biller_code", nullable = true, length = 30)
@Setter @Setter
private String kkoBpBillerCode; private String kkoBpBillerCode;
@Column(name = "kko_bp_authorization", nullable = true, length = 64) @Column(name = "kko_bp_authorization", nullable = true, length = 64)
@Setter @Setter
private String kkoBpAuthorization; private String kkoBpAuthorization;
@ -75,113 +74,130 @@ public class OrgMng {
@Column(name = "kko_bp_csign_yn", nullable = true, length = 1) @Column(name = "kko_bp_csign_yn", nullable = true, length = 1)
@Setter @Setter
private String kkoBpCsignYn; private String kkoBpCsignYn;
@Column(name = "kko_bp_url_api", nullable = true, length = 100) @Column(name = "kko_bp_url_api", nullable = true, length = 100)
@Setter @Setter
private String kkoBpUrlApi; private String kkoBpUrlApi;
@Column(name = "kko_bp_notice_api", nullable = true, length = 100) @Column(name = "kko_bp_notice_api", nullable = true, length = 100)
@Setter @Setter
private String kkoBpNoticeApi; private String kkoBpNoticeApi;
@Column(name = "kko_bp_prepay_api", nullable = true, length = 100) @Column(name = "kko_bp_prepay_api", nullable = true, length = 100)
@Setter @Setter
private String kkoBpPrepayApi; private String kkoBpPrepayApi;
@Column(name = "kko_bp_payresult_api", nullable = true, length = 100) @Column(name = "kko_bp_payresult_api", nullable = true, length = 100)
@Setter @Setter
private String kkoBpPayresultApi; private String kkoBpPayresultApi;
@Column(name = "kko_at_bsid", nullable = true, length = 30) @Column(name = "kko_at_bsid", nullable = true, length = 30)
@Setter @Setter
private String kkoAtBsid; private String kkoAtBsid;
@Column(name = "kko_at_passwd", nullable = true, length = 50) @Column(name = "kko_at_passwd", nullable = true, length = 50)
@Setter @Setter
private String kkoAtPasswd; private String kkoAtPasswd;
@Column(name = "kko_at_sender_key", nullable = true, length = 50) @Column(name = "kko_at_sender_key", nullable = true, length = 50)
@Setter @Setter
private String kkoAtSenderKey; private String kkoAtSenderKey;
// FIXME: 카카오톡 추가 ////////////////////////////
@Column(name = "kakao_partner_rest_api_key", nullable = true, length = 100)
@Setter
private String kakaoPartnerRestApiKey;
@Column(name = "kakao_dealer_rest_api_key", nullable = true, length = 100)
@Setter
private String kakaoDealerRestApiKey;
@Column(name = "kakao_dev_settle_id", nullable = true, length = 100)
@Setter
private String kakaoDevSettleId;
@Column(name = "kakao_prod_settle_id", nullable = true, length = 100)
@Setter
private String kakaoProdSettleId;
// FIXME: 카카오톡 추가 ////////////////////////
@Column(name = "nice_cd_site_code", nullable = true, length = 30) @Column(name = "nice_cd_site_code", nullable = true, length = 30)
@Setter @Setter
private String niceCdSiteCode; private String niceCdSiteCode;
@Column(name = "nice_cd_site_pw", nullable = true, length = 30) @Column(name = "nice_cd_site_pw", nullable = true, length = 30)
@Setter @Setter
private String niceCdSitePw; private String niceCdSitePw;
@Column(name = "nice_cd_client_id", nullable = true, length = 50) @Column(name = "nice_cd_client_id", nullable = true, length = 50)
@Setter @Setter
private String niceCdClientId; private String niceCdClientId;
@Column(name = "nice_cd_client_sercet", nullable = true, length = 50) @Column(name = "nice_cd_client_sercet", nullable = true, length = 50)
@Setter @Setter
private String niceCdClientSercet; private String niceCdClientSercet;
@Column(name = "nv_st_x_naver_client_id", nullable = true, length = 30) @Column(name = "nv_st_x_naver_client_id", nullable = true, length = 30)
@Setter @Setter
private String nvStXNaverClientId; private String nvStXNaverClientId;
@Column(name = "nv_st_x_naver_client_secret", nullable = true, length = 30) @Column(name = "nv_st_x_naver_client_secret", nullable = true, length = 30)
@Setter @Setter
private String nvStXNaverClientSecret; private String nvStXNaverClientSecret;
@Column(name = "nv_st_org_id", nullable = true, length = 50) @Column(name = "nv_st_org_id", nullable = true, length = 50)
@Setter @Setter
private String nvStOrgId; private String nvStOrgId;
@Column(name = "nv_bp_partner_id", nullable = true, length = 30) @Column(name = "nv_bp_partner_id", nullable = true, length = 30)
@Setter @Setter
private String nvBpPartnerId; private String nvBpPartnerId;
@Column(name = "nv_bp_client_id", nullable = true, length = 30) @Column(name = "nv_bp_client_id", nullable = true, length = 30)
@Setter @Setter
private String nvBpClientId; private String nvBpClientId;
@Column(name = "nv_bp_client_secret", nullable = true, length = 30) @Column(name = "nv_bp_client_secret", nullable = true, length = 30)
@Setter @Setter
private String nvBpClientSecret; private String nvBpClientSecret;
@Column(name = "nv_bp_notice_api", nullable = true, length = 100) @Column(name = "nv_bp_notice_api", nullable = true, length = 100)
@Setter @Setter
private String nvBpNoticeApi; private String nvBpNoticeApi;
@Column(name = "nv_bp_prepay_api", nullable = true, length = 100) @Column(name = "nv_bp_prepay_api", nullable = true, length = 100)
@Setter @Setter
private String nvBpPrepayApi; private String nvBpPrepayApi;
@Column(name = "nv_bp_payresult_api", nullable = true, length = 100) @Column(name = "nv_bp_payresult_api", nullable = true, length = 100)
@Setter @Setter
private String nvBpPayresultApi; private String nvBpPayresultApi;
@Column(name = "nv_bp_paycancel_api", nullable = true, length = 100) @Column(name = "nv_bp_paycancel_api", nullable = true, length = 100)
@Setter @Setter
private String nvBpPaycancelApi; private String nvBpPaycancelApi;
@Column(name = "kt_st_access_token", nullable = true, length = 1000) @Column(name = "kt_st_access_token", nullable = true, length = 1000)
@Setter @Setter
private String ktStAccessToken; private String ktStAccessToken;
@Column(name = "kt_st_service_cd", nullable = true, length = 5) @Column(name = "kt_st_service_cd", nullable = true, length = 5)
@Setter @Setter
private String ktStServiceCd; private String ktStServiceCd;
@Column(name = "kt_st_service_key", nullable = true, length = 100) @Column(name = "kt_st_service_key", nullable = true, length = 100)
@Setter @Setter
private String ktStServiceKey; private String ktStServiceKey;
@Column(name = "kt_st_clientId", nullable = true, length = 50) @Column(name = "kt_st_clientId", nullable = true, length = 50)
@Setter @Setter
private String ktStClientId; private String ktStClientId;
@Column(name = "kt_st_client_secret", nullable = true, length = 50) @Column(name = "kt_st_client_secret", nullable = true, length = 50)
@Setter @Setter
private String ktStClientSecret; private String ktStClientSecret;

@ -1,12 +1,12 @@
package cokr.xit.ens.modules.common.ctgy.sys.mng.model; package cokr.xit.ens.modules.common.ctgy.sys.mng.model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern; import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import io.swagger.v3.oas.annotations.media.*;
import lombok.*;
@Data @Data
@Builder @Builder
@ -64,6 +64,24 @@ public class OrgMngDTO {
@Schema(required = false, title = "(계약정보)발송자키", example = " ") @Schema(required = false, title = "(계약정보)발송자키", example = " ")
private String kkoAtSenderKey; private String kkoAtSenderKey;
// FIXME: 카카오톡 추가 ////////////////////////////
@Length(max = 100, message = "카카오톡 파트너 API 키의 최대 길이를 초과 했습니다.")
@Schema(required = false, title = "카카오톡 파트너 API 키", example = " ")
private String kakaoPartnerRestApiKey;
@Length(max = 100, message = "카카오톡 딜러 API 키의 최대 길이를 초과 했습니다.")
@Schema(required = false, title = "카카오톡 딜러 API 키", example = " ")
private String kakaoDealerRestApiKey;
@Length(max = 100, message = "카카오톡 운영 settle ID의 최대 길이를 초과 했습니다.")
@Schema(required = false, title = "카카오톡 개발 settle ID", example = " ")
private String kakaoDevSettleId;
@Length(max = 100, message = "카카오톡 운영 settle ID의 최대 길이를 초과 했습니다.")
@Schema(required = false, title = "카카오톡 개발 settle ID", example = " ")
private String kakaoProdSettleId;
// FIXME: 카카오톡 추가 ////////////////////////
@Length(max = 30, message = "(계약정보)사이트코드(socket)의 최대 길이를 초과 했습니다.") @Length(max = 30, message = "(계약정보)사이트코드(socket)의 최대 길이를 초과 했습니다.")
@Schema(required = false, title = "(계약정보)사이트코드(socket)", example = " ") @Schema(required = false, title = "(계약정보)사이트코드(socket)", example = " ")
private String niceCdSiteCode; private String niceCdSiteCode;

Loading…
Cancel
Save