Package cn.sinozg.applet.oss.model
Class FileUploadParams
java.lang.Object
cn.sinozg.applet.oss.model.FileUploadParams
- Since:
- 2025-07-20 17:36
- Author:
- xieyubin
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileUploadParams(org.springframework.web.multipart.MultipartFile file, String bizId) FileUploadParams(org.springframework.web.multipart.MultipartFile file, String[] allowedExtension, boolean sha) FileUploadParams(org.springframework.web.multipart.MultipartFile file, String bizId, boolean sha) -
Method Summary
Modifier and TypeMethodDescriptionString[]getBizId()org.springframework.web.multipart.MultipartFilegetFile()longbooleanbooleanisSha()booleanisShow()voidsetAllowedExtension(String[] allowedExtension) voidvoidsetBucketName(String bucketName) voidsetExtension(List<String> extension) voidsetFile(org.springframework.web.multipart.MultipartFile file) voidsetKeyEqId(boolean keyEqId) voidsetKeyPrefix(String keyPrefix) voidsetMaxSize(long maxSize) voidsetSha(boolean sha) voidsetShow(boolean show)
-
Field Details
-
file
private org.springframework.web.multipart.MultipartFile file -
allowedExtension
-
sha
private boolean sha -
bizId
-
maxSize
private long maxSize -
extension
-
bucketName
-
keyEqId
private boolean keyEqId -
show
private boolean show -
keyPrefix
-
-
Constructor Details
-
Method Details
-
getFile
public org.springframework.web.multipart.MultipartFile getFile() -
setFile
public void setFile(org.springframework.web.multipart.MultipartFile file) -
setAllowedExtension
-
getAllowedExtension
-
isSha
public boolean isSha() -
setSha
public void setSha(boolean sha) -
getBizId
-
setBizId
-
getMaxSize
public long getMaxSize() -
setMaxSize
public void setMaxSize(long maxSize) -
getExtension
-
setExtension
-
isShow
public boolean isShow() -
setShow
public void setShow(boolean show) -
getBucketName
-
setBucketName
-
getKeyPrefix
-
setKeyPrefix
-
isKeyEqId
public boolean isKeyEqId() -
setKeyEqId
public void setKeyEqId(boolean keyEqId)
-