mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 18:53:12 +08:00
db-data-export
This commit is contained in:
@ -19,7 +19,15 @@ public enum ExportFileSuffix {
|
||||
//html
|
||||
HTML(".html"),
|
||||
//pdf
|
||||
PDF(".pdf");
|
||||
PDF(".pdf"),
|
||||
|
||||
SQL(".sql"),
|
||||
|
||||
JSON(".json"),
|
||||
|
||||
CSV(".csv"),
|
||||
|
||||
ZIP(".zip");
|
||||
|
||||
private String suffix;
|
||||
|
||||
|
@ -45,7 +45,11 @@ public enum ExportTypeEnum implements BaseEnum<String> {
|
||||
/**
|
||||
* PDF
|
||||
*/
|
||||
PDF("PDF");
|
||||
PDF("PDF"),
|
||||
|
||||
JSON("JSON"),
|
||||
|
||||
SQL("SQL");
|
||||
|
||||
final String description;
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
package ai.chat2db.server.domain.api.param.datasource;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author: zgq
|
||||
* @date: 2024年03月24日 13:17
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class DatabaseExportDataParam {
|
||||
private String databaseName;
|
||||
private String schemaName;
|
||||
private String exportType;
|
||||
}
|
Reference in New Issue
Block a user