添加PTL数据同步功能
parent
1428b5f0aa
commit
e15c2b6065
@ -0,0 +1,56 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: yiming.gu
|
||||
* @CreateDate:2019-04-22-17:20
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "PTL_PCN_CONNECT_LOG")
|
||||
@Api("PCN节点连接日志")
|
||||
public class PtlPcnConnectLog extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 2756240593256441951L;
|
||||
|
||||
@Column(name = "PCN_CODE")
|
||||
@ApiParam("PCN代码")
|
||||
private String pcnCode;
|
||||
|
||||
@Column(name = "PCN_NAME")
|
||||
@ApiParam("PCN名称")
|
||||
private String pcnName;
|
||||
|
||||
@Column(name = "PCN_VERSION")
|
||||
@ApiParam("PCN版本")
|
||||
private String pcnVersion;
|
||||
|
||||
@Column(name = "CONNECT_IP")
|
||||
@ApiParam("连接IP")
|
||||
private String connectIp;
|
||||
|
||||
@Column(name = "IS_CONNECT")
|
||||
@ApiParam("是否连接")
|
||||
private Integer isConnect;
|
||||
|
||||
@Column(name = "REMARK")
|
||||
@ApiParam("备注")
|
||||
private String Remark;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.PtlPcnConnectLog;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: yiming.gu
|
||||
* @CreateDate:2019-04-24-17:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface PtlPcnConnectLogRepository extends BaseRepository<PtlPcnConnectLog, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.PtlPcn;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: yiming.gu
|
||||
* @CreateDate:2019-04-24-17:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface PtlPcnRepository extends BaseRepository<PtlPcn, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.PtlPcnTaskLog;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-08-27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface PtlPcnTaskLogRepository extends BaseRepository<PtlPcnTaskLog, Long> {
|
||||
}
|
Loading…
Reference in New Issue