Merge branches 'dev' and 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
1d17198daf
@ -0,0 +1,88 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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 javax.persistence.Transient;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-25 17:43
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BS_SUIT_CASE_FTP")
|
||||
@Api(value = "FTP适配器", description = "FTP适配器")
|
||||
public class BsSuitCaseFTP extends BaseBean {
|
||||
|
||||
@Column(name = "SUIT_CASE_ID")
|
||||
@ApiParam(value = "套件id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long suitCaseId;
|
||||
|
||||
@Column(name = "file_Name")
|
||||
@ApiParam(value = "文件名")
|
||||
private String fileName;
|
||||
|
||||
@Column(name = "ENCODE")
|
||||
@ApiParam(value = "编码")
|
||||
private Integer encode;
|
||||
|
||||
@Column(name = "IS_READ_AND_EMPTY")
|
||||
@ApiParam(value = "读取并清空")
|
||||
private Integer isReadAndEmpty;
|
||||
|
||||
public boolean isReadAndEmpty(){
|
||||
return CommonEnumUtil.TRUE_OR_FALSE.valueOfBoolean(isReadAndEmpty);
|
||||
}
|
||||
|
||||
@Column(name = "IS_READ_AND_DELETE")
|
||||
@ApiParam(value = "读取并删除")
|
||||
private Integer isReadAndDelete;
|
||||
|
||||
public boolean isReadAndDelete(){
|
||||
return CommonEnumUtil.TRUE_OR_FALSE.valueOfBoolean(isReadAndDelete);
|
||||
}
|
||||
|
||||
@Column(name = "IS_NEED_TRAVERSAL")
|
||||
@ApiParam(value = "是否需要遍历")
|
||||
private Integer isNeedTraversal;
|
||||
|
||||
public boolean isNeedTraversal(){
|
||||
return CommonEnumUtil.TRUE_OR_FALSE.valueOfBoolean(isNeedTraversal);
|
||||
}
|
||||
|
||||
@Column(name = "IS_INCREMENTAL_READ")
|
||||
@ApiParam(value = "是否增量读取")
|
||||
private Integer isIncrementalRead;
|
||||
|
||||
public boolean isIncrementalRead(){
|
||||
return CommonEnumUtil.TRUE_OR_FALSE.valueOfBoolean(isIncrementalRead);
|
||||
}
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "是否增量读取")
|
||||
private String tempSuitFilePath;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "适配文件列表")
|
||||
public List<BsSuitFile> bsSuitFileList;
|
||||
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-25 17:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BS_SUIT_FILE")
|
||||
@Api(value = "适配文件信息", description = "适配文件信息")
|
||||
public class BsSuitFile extends BaseBean {
|
||||
|
||||
@Column(name = "SUIT_CASE_ID")
|
||||
@ApiParam(value = "套件id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long suitCaseId;
|
||||
|
||||
@Column(name = "SUIT_CASE_NAME_RDD")
|
||||
@ApiParam(value = "适配套件名称")
|
||||
private String suitCaseName;
|
||||
|
||||
@Column(name = "SUIT_CASE_CODE")
|
||||
@ApiParam(value = "适配套件代码")
|
||||
private String suitCaseCode;
|
||||
|
||||
@Column(name = "FOLDER_PATH")
|
||||
@ApiParam(value = "文件夹路径")
|
||||
private String folderPath;
|
||||
|
||||
@Column(name = "FILE_ID")
|
||||
@ApiParam(value = "文件id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long fileId;
|
||||
|
||||
@Column(name = "FILE_NAME")
|
||||
@ApiParam(value = "文件名称")
|
||||
private String fileName;
|
||||
|
||||
@Column(name = "FILE_URL")
|
||||
@ApiParam(value = "文件URL")
|
||||
private String fileURL;
|
||||
|
||||
@Column(name = "FILE_SIZE")
|
||||
@ApiParam(value = "文件大小")
|
||||
private int fileSize;
|
||||
|
||||
@Column(name = "SUIT_DATE_TIME")
|
||||
@ApiParam(value = "适配时间")
|
||||
private String suitDateTime;
|
||||
|
||||
@Column(name = "PROCESS_STATE")
|
||||
@ApiParam(value = "处理状态")
|
||||
private Integer processState;
|
||||
|
||||
@Column(name = "PROCESS_TIME")
|
||||
@ApiParam(value = "处理时间")
|
||||
private String processTime;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCaseFTP;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-27 10:16
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BsSuitCaseFTPRepository extends BaseRepository<BsSuitCaseFTP,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCaseREST;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-23 15:39
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BsSuitCaseRESTRepository extends BaseRepository<BsSuitCaseREST,Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitFile;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-27 10:17
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BsSuitFileRepository extends BaseRepository<BsSuitFile,Long> {
|
||||
}
|
Loading…
Reference in New Issue