This commit is contained in:
MaxKey
2021-07-18 18:49:32 +08:00
parent 7377112465
commit 27f1243402
46 changed files with 747 additions and 141 deletions

View File

@@ -39,7 +39,7 @@ public class ExcelImport extends JpaBaseEntity {
@Id
@Column
@GeneratedValue(strategy = GenerationType.AUTO, generator = "uuid")
@GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
String id;
@JsonIgnore

View File

@@ -0,0 +1,213 @@
package org.maxkey.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.mybatis.jpa.persistence.JpaBaseEntity;
@Entity
@Table(name = "MXK_HISTORY_CONNECTOR")
public class HistoryConnector extends JpaBaseEntity implements Serializable{
/**
*
*/
private static final long serialVersionUID = 3465459057253994386L;
@Id
@Column
@GeneratedValue(strategy=GenerationType.AUTO,generator="snowflakeid")
String id;
@Column
String conName;
@Column
String conType;
@Column
String sourceId;
@Column
String sourceName;
@Column
String objectId;
@Column
String objectName;
@Column
String description;
String syncTime;
@Column
String result;
String startDate;
String endDate;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getConName() {
return conName;
}
public void setConName(String conName) {
this.conName = conName;
}
public String getConType() {
return conType;
}
public void setConType(String conType) {
this.conType = conType;
}
public String getSourceId() {
return sourceId;
}
public void setSourceId(String sourceId) {
this.sourceId = sourceId;
}
public String getSourceName() {
return sourceName;
}
public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}
public String getObjectId() {
return objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
public String getObjectName() {
return objectName;
}
public void setObjectName(String objectName) {
this.objectName = objectName;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getSyncTime() {
return syncTime;
}
public void setSyncTime(String syncTime) {
this.syncTime = syncTime;
}
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result;
}
public String getStartDate() {
return startDate;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public String getEndDate() {
return endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("HistoryConnector [id=");
builder.append(id);
builder.append(", conName=");
builder.append(conName);
builder.append(", conType=");
builder.append(conType);
builder.append(", sourceId=");
builder.append(sourceId);
builder.append(", sourceName=");
builder.append(sourceName);
builder.append(", objectId=");
builder.append(objectId);
builder.append(", objectName=");
builder.append(objectName);
builder.append(", description=");
builder.append(description);
builder.append(", syncTime=");
builder.append(syncTime);
builder.append(", result=");
builder.append(result);
builder.append(", startDate=");
builder.append(startDate);
builder.append(", endDate=");
builder.append(endDate);
builder.append("]");
return builder.toString();
}
}

View File

@@ -40,7 +40,7 @@ public class PasswordPolicy extends JpaBaseEntity implements java.io.Serializabl
private static final long serialVersionUID = -4797776994287829182L;
@Id
@Column
@GeneratedValue(strategy = GenerationType.AUTO, generator = "uuid")
@GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
String id;
/**
* minimum password lengths

View File

@@ -57,7 +57,7 @@ public class Apps extends JpaBaseEntity implements Serializable {
@Id
@Column
@GeneratedValue(strategy = GenerationType.AUTO, generator = "uuid")
@GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
protected String id;
/**
*

View File

@@ -37,7 +37,7 @@ public class AppsAdapters extends JpaBaseEntity implements Serializable {
@Id
@Column
@GeneratedValue(strategy = GenerationType.AUTO, generator = "uuid")
@GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
protected String id;
/**
*

View File

@@ -34,7 +34,7 @@ public class AppsCasDetails extends Apps {
private static final long serialVersionUID = -4272290765948322084L;
@Id
@Column
@GeneratedValue(strategy = GenerationType.AUTO, generator = "uuid")
@GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
private String id;
@Column
private String service;

View File

@@ -37,7 +37,7 @@ public class AppsFormBasedDetails extends Apps {
private static final long serialVersionUID = 563313247706861431L;
@Id
@Column
@GeneratedValue(strategy=GenerationType.AUTO,generator="uuid")
@GeneratedValue(strategy=GenerationType.AUTO,generator="snowflakeid")
protected String id;
@Column

View File

@@ -42,7 +42,7 @@ public class AppsJwtDetails extends Apps {
@Id
@Column
@GeneratedValue(strategy=GenerationType.AUTO,generator="uuid")
@GeneratedValue(strategy=GenerationType.AUTO,generator="snowflakeid")
protected String id;
/**
*

View File

@@ -42,7 +42,7 @@ public class AppsSAML20Details extends Apps {
private static final long serialVersionUID = -291159876339333345L;
@Id
@Column
@GeneratedValue(strategy = GenerationType.AUTO, generator = "uuid")
@GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
protected String id;
@Column
private String certIssuer;

View File

@@ -42,7 +42,7 @@ public class AppsTokenBasedDetails extends Apps {
@Id
@Column
@GeneratedValue(strategy=GenerationType.AUTO,generator="uuid")
@GeneratedValue(strategy=GenerationType.AUTO,generator="snowflakeid")
protected String id;
/**
*