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
@ -105,6 +104,23 @@ public class OrgMng {
@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

@ -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