parent
ceb64e682a
commit
8a1b95a63e
@ -0,0 +1,67 @@
|
||||
package cokr.xit.ens.modules.kkotalk.domain;
|
||||
|
||||
import java.time.*;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Index;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.hibernate.annotations.*;
|
||||
|
||||
import cokr.xit.ens.modules.common.domain.support.*;
|
||||
import lombok.*;
|
||||
|
||||
@Entity
|
||||
@Getter
|
||||
@ToString
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Table(name = "ens_snd_dtl_kko_talk_req_his", indexes = {
|
||||
@Index(name = "idx_snd_dtl_kko_talk_req_his_01", columnList = "regist_dt")
|
||||
})
|
||||
public class SendDetailKkoTalkReqHist {
|
||||
|
||||
@Id
|
||||
// @GeneratedValue(strategy=GenerationType.AUTO)
|
||||
@GeneratedValue(strategy = GenerationType.TABLE, generator = "SendDetailKkoTalkReqHist_Generator")
|
||||
@TableGenerator(table = "ens_seq_generator", name = "SendDetailKkoTalkReqHist_Generator"
|
||||
, pkColumnName = "seq_name", pkColumnValue = "SendDetailKkoTalkReqHist_id"
|
||||
, initialValue = 0, allocationSize = 200)
|
||||
|
||||
private Long id;
|
||||
|
||||
|
||||
// @JoinColumn(name = "send_mast_id")
|
||||
|
||||
// private SendMast sendMast;
|
||||
|
||||
@Column(name = "send_detail_id", nullable = true)
|
||||
private Long sendDetailId;
|
||||
|
||||
|
||||
@Column(name = "send_raw_msg", nullable = false, length = 4000)
|
||||
private String sendRawMsg;
|
||||
|
||||
|
||||
@Column(name = "external_id", nullable = true)
|
||||
private String externalId;
|
||||
|
||||
|
||||
@Column(name = "envelope_id", nullable = true)
|
||||
private String envelopeId;
|
||||
|
||||
|
||||
@Column(name = "resp_raw_msg", nullable = true, length = 1000)
|
||||
private String respRawMsg;
|
||||
|
||||
@CreationTimestamp
|
||||
@Column(name = "regist_dt", nullable = true)
|
||||
private LocalDateTime registDt;
|
||||
|
||||
@Embedded
|
||||
@Setter
|
||||
private FieldError error;
|
||||
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package cokr.xit.ens.modules.kkotalk.domain;
|
||||
|
||||
import java.time.*;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Index;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.hibernate.annotations.*;
|
||||
|
||||
import cokr.xit.ens.modules.common.domain.support.*;
|
||||
import lombok.*;
|
||||
|
||||
@Entity
|
||||
@Getter
|
||||
@ToString
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Table(name = "ens_snd_dtl_kko_talk_stat_his", indexes = {
|
||||
@Index(name = "idx_snd_dtl_kko_talk_stat_his_01", columnList = "regist_dt")
|
||||
})
|
||||
public class SendDetailKkoTalkStatHist {
|
||||
|
||||
@Id
|
||||
// @GeneratedValue(strategy=GenerationType.AUTO)
|
||||
@GeneratedValue(strategy = GenerationType.TABLE, generator = "SendDetailKkoTalkStatHist_Generator")
|
||||
@TableGenerator(table = "ens_seq_generator", name = "SendDetailKkoTalkStatHist_Generator"
|
||||
, pkColumnName = "seq_name", pkColumnValue = "SendDetailKkoTalkStatHist_id"
|
||||
, initialValue = 0, allocationSize = 200)
|
||||
private Long id;
|
||||
|
||||
|
||||
@Column(name = "send_detail_id", nullable = false)
|
||||
private Long sendDetailId;
|
||||
|
||||
|
||||
@Column(name = "envelope_id", nullable = true)
|
||||
private String envelope_id;
|
||||
|
||||
|
||||
@Column(name = "external_id", nullable = true)
|
||||
@Setter
|
||||
private String externalId;
|
||||
|
||||
|
||||
// @Column(name = "resp_raw_msg", nullable = true, length = 1000)
|
||||
// private String respRawMsg;
|
||||
|
||||
|
||||
@Column(name = "status", nullable = true)
|
||||
// @Enumerated(EnumType.STRING)
|
||||
private String status;
|
||||
|
||||
|
||||
@Column(name = "sent_at", nullable = true)
|
||||
private String sentAt;
|
||||
|
||||
|
||||
@Column(name = "received_at", nullable = true)
|
||||
private String receivedAt;
|
||||
|
||||
|
||||
@Column(name = "authenticated_at", nullable = true)
|
||||
private String authenticatedAt;
|
||||
|
||||
|
||||
@Column(name = "token_used_at", nullable = true)
|
||||
private Long tokenUsedAt;
|
||||
|
||||
|
||||
@Column(name = "read_at", nullable = true)
|
||||
private String readAt;
|
||||
|
||||
|
||||
@Column(name = "user_notified_at", nullable = true)
|
||||
private Long userNotifiedAt;
|
||||
|
||||
|
||||
@Column(name = "distribution_received_at", nullable = true)
|
||||
private String docDistributionReceivedAt;//???
|
||||
|
||||
|
||||
@Column(name = "payload", nullable = true)
|
||||
private String payload;
|
||||
|
||||
|
||||
@Column(name = "regist_dt", nullable = true)
|
||||
@CreationTimestamp
|
||||
private LocalDateTime registDt;
|
||||
|
||||
@Embedded
|
||||
private FieldError error;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
package cokr.xit.ens.modules.kkotalk.domain;
|
||||
|
||||
import java.time.*;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Index;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.hibernate.annotations.*;
|
||||
|
||||
import cokr.xit.ens.modules.common.domain.support.*;
|
||||
import lombok.*;
|
||||
|
||||
@Entity
|
||||
@Getter
|
||||
@ToString
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Table(name = "ens_snd_dtl_kko_talk_ott_his", indexes = {
|
||||
@Index(name = "idx_snd_dtl_kko_talk_ott_his_01", columnList = "regist_dt")
|
||||
})
|
||||
public class SendDetailKkoTalkTokenHist {
|
||||
|
||||
@Id
|
||||
// @GeneratedValue(strategy=GenerationType.AUTO)
|
||||
@GeneratedValue(strategy = GenerationType.TABLE, generator = "SendDetailKkoTalkTokenHist_Generator")
|
||||
@TableGenerator(table = "ens_seq_generator", name = "SendDetailKkoTalkTokenHist_Generator"
|
||||
, pkColumnName = "seq_name", pkColumnValue = "SendDetailKkoTalkTokenHist_id"
|
||||
, initialValue = 0, allocationSize = 200)
|
||||
private Long id;
|
||||
|
||||
|
||||
@Column(name = "envelope_id", nullable = true)
|
||||
private String envelopeId;
|
||||
|
||||
|
||||
@Column(name = "external_id", nullable = true)
|
||||
private String externalId;
|
||||
|
||||
|
||||
@Column(name = "token", nullable = true)
|
||||
private String token;
|
||||
|
||||
|
||||
@Column(name = "token_status", nullable = true)
|
||||
private String tokenStatus;
|
||||
|
||||
|
||||
@Column(name = "token_expires_at", nullable = true)
|
||||
private String tokenExpiresAt;
|
||||
|
||||
|
||||
@Column(name = "token_used_at", nullable = true)
|
||||
private String tokenUsedAt;
|
||||
|
||||
|
||||
@Column(name = "sent_at", nullable = true)
|
||||
private String sentAt;
|
||||
|
||||
|
||||
@Column(name = "received_at", nullable = true)
|
||||
private String receivedAt;
|
||||
|
||||
|
||||
@Column(name = "authenticated_at", nullable = true)
|
||||
private String authenticatedAt;
|
||||
|
||||
|
||||
@Column(name = "user_notified_at", nullable = true)
|
||||
private String userNotifiedAt;
|
||||
|
||||
|
||||
@Column(name = "payload", nullable = true)
|
||||
private String payload;
|
||||
|
||||
|
||||
@Column(name = "signed_at", nullable = true)
|
||||
private String signedAt;
|
||||
|
||||
|
||||
@Column(name = "regist_dt", nullable = true)
|
||||
@CreationTimestamp
|
||||
private LocalDateTime registDt;
|
||||
|
||||
@Embedded
|
||||
private FieldError error;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cokr.xit.ens.modules.kkotalk.domain.repository;
|
||||
|
||||
import org.springframework.data.jpa.repository.*;
|
||||
|
||||
import cokr.xit.ens.modules.common.biztmplt.*;
|
||||
import cokr.xit.ens.modules.kkotalk.domain.*;
|
||||
|
||||
public interface SendDetailKkoTalkReqHistRepository
|
||||
extends JpaRepository<SendDetailKkoTalkReqHist, Long>, CleanRepositorySupport {
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cokr.xit.ens.modules.kkotalk.domain.repository;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import cokr.xit.ens.modules.common.biztmplt.*;
|
||||
import cokr.xit.ens.modules.common.code.*;
|
||||
|
||||
public class SendDetailKkoTalkReqHistRepositoryImpl implements CleanRepositorySupport {
|
||||
@PersistenceContext
|
||||
private EntityManager em;
|
||||
|
||||
@Override
|
||||
public void truncate() {
|
||||
em.createNativeQuery("truncate table " + UseNativeQuery.SendDetailKkoTalkReqHist.getTblNm()).executeUpdate();
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cokr.xit.ens.modules.kkotalk.domain.repository;
|
||||
|
||||
import org.springframework.data.jpa.repository.*;
|
||||
|
||||
import cokr.xit.ens.modules.common.biztmplt.*;
|
||||
import cokr.xit.ens.modules.kkotalk.domain.*;
|
||||
|
||||
public interface SendDetailKkoTalkStatHistRepository
|
||||
extends JpaRepository<SendDetailKkoTalkStatHist, Long>, CleanRepositorySupport {
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cokr.xit.ens.modules.kkotalk.domain.repository;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import cokr.xit.ens.modules.common.biztmplt.*;
|
||||
import cokr.xit.ens.modules.common.code.*;
|
||||
|
||||
public class SendDetailKkoTalkStatHistRepositoryImpl implements CleanRepositorySupport {
|
||||
@PersistenceContext
|
||||
private EntityManager em;
|
||||
|
||||
@Override
|
||||
public void truncate() {
|
||||
em.createNativeQuery("truncate table " + UseNativeQuery.SendDetailKkoTalkStatHist.getTblNm()).executeUpdate();
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cokr.xit.ens.modules.kkotalk.domain.repository;
|
||||
|
||||
import org.springframework.data.jpa.repository.*;
|
||||
|
||||
import cokr.xit.ens.modules.common.biztmplt.*;
|
||||
import cokr.xit.ens.modules.kkotalk.domain.*;
|
||||
|
||||
public interface SendDetailKkoTalkTokenHistRepository
|
||||
extends JpaRepository<SendDetailKkoTalkTokenHist, Long>, CleanRepositorySupport {
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cokr.xit.ens.modules.kkotalk.domain.repository;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import cokr.xit.ens.modules.common.biztmplt.*;
|
||||
import cokr.xit.ens.modules.common.code.*;
|
||||
|
||||
public class SendDetailKkoTalkTokenHistRepositoryImpl implements CleanRepositorySupport {
|
||||
@PersistenceContext
|
||||
private EntityManager em;
|
||||
|
||||
@Override
|
||||
public void truncate() {
|
||||
em.createNativeQuery("truncate table " + UseNativeQuery.SendDetailKkoTalkTokenHist.getTblNm()).executeUpdate();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue