Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
820a9453
Commit
820a9453
authored
Oct 25, 2019
by
阮思源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加打包下载模型
parent
280b4007
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
147 additions
and
0 deletions
+147
-0
FileRarBaseDto.java
.../main/java/com/pcloud/common/core/dto/FileRarBaseDto.java
+62
-0
FileRarDto.java
.../src/main/java/com/pcloud/common/core/dto/FileRarDto.java
+85
-0
No files found.
pcloud-common-core/src/main/java/com/pcloud/common/core/dto/FileRarBaseDto.java
0 → 100644
View file @
820a9453
package
com
.
pcloud
.
common
.
core
.
dto
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* @Description
* @Author ruansiyuan
* @Date 2019/9/26 17:01
**/
@ApiModel
(
"文件压缩包基础信息"
)
@JsonInclude
(
value
=
JsonInclude
.
Include
.
NON_NULL
)
public
class
FileRarBaseDto
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
1794097417651170567L
;
@ApiModelProperty
(
"名称"
)
private
String
name
;
@ApiModelProperty
(
"大小"
)
private
Long
size
;
@ApiModelProperty
(
"压缩包集合"
)
private
List
<
FileRarDto
>
fileRarDtos
;
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
Long
getSize
()
{
return
size
;
}
public
void
setSize
(
Long
size
)
{
this
.
size
=
size
;
}
public
List
<
FileRarDto
>
getFileRarDtos
()
{
return
fileRarDtos
;
}
public
void
setFileRarDtos
(
List
<
FileRarDto
>
fileRarDtos
)
{
this
.
fileRarDtos
=
fileRarDtos
;
}
@Override
public
String
toString
()
{
return
"FileRarBaseDto{"
+
"name='"
+
name
+
'\''
+
", size="
+
size
+
", fileRarDtos="
+
fileRarDtos
+
'}'
;
}
}
pcloud-common-core/src/main/java/com/pcloud/common/core/dto/FileRarDto.java
0 → 100644
View file @
820a9453
package
com
.
pcloud
.
common
.
core
.
dto
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
/**
* @Description
* @Author ruansiyuan
* @Date 2019/9/26 16:56
**/
@ApiModel
(
"文件压缩包"
)
@JsonInclude
(
value
=
JsonInclude
.
Include
.
NON_NULL
)
public
class
FileRarDto
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
5404297263953529753L
;
@ApiModelProperty
(
"文件名称"
)
private
String
fileName
;
@ApiModelProperty
(
"文件大小"
)
private
Long
fileSize
;
@ApiModelProperty
(
"文件地址"
)
private
String
fileUrl
;
@ApiModelProperty
(
"文件数量"
)
private
Integer
fileItemCount
;
@ApiModelProperty
(
"压缩状态(-1等待压缩;0正在压缩;1压缩成功;2压缩失败)"
)
private
Integer
state
;
public
String
getFileName
()
{
return
fileName
;
}
public
void
setFileName
(
String
fileName
)
{
this
.
fileName
=
fileName
;
}
public
Long
getFileSize
()
{
return
fileSize
;
}
public
void
setFileSize
(
Long
fileSize
)
{
this
.
fileSize
=
fileSize
;
}
public
String
getFileUrl
()
{
return
fileUrl
;
}
public
void
setFileUrl
(
String
fileUrl
)
{
this
.
fileUrl
=
fileUrl
;
}
public
Integer
getFileItemCount
()
{
return
fileItemCount
;
}
public
void
setFileItemCount
(
Integer
fileItemCount
)
{
this
.
fileItemCount
=
fileItemCount
;
}
public
Integer
getState
()
{
return
state
;
}
public
void
setState
(
Integer
state
)
{
this
.
state
=
state
;
}
@Override
public
String
toString
()
{
return
"FileRarDto{"
+
"fileName='"
+
fileName
+
'\''
+
", fileSize="
+
fileSize
+
", fileUrl='"
+
fileUrl
+
'\''
+
", fileItemCount="
+
fileItemCount
+
", state="
+
state
+
'}'
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment