权限和用户管理开发

This commit is contained in:
暮光:城中城
2018-12-15 22:32:28 +08:00
parent 6fca0f89ff
commit 66513ac91d
20 changed files with 1440 additions and 451 deletions

View File

@@ -0,0 +1,51 @@
package com.zyplayer.doc.swagger.controller.vo;
import cn.hutool.core.util.RandomUtil;
import com.zyplayer.doc.swagger.framework.constant.StorageKeys;
import java.util.Date;
public class SwaggerResourcesInfoVo {
private String url;
private String storageKey;
private Date creationTime;
private Date lastSync;
public SwaggerResourcesInfoVo(String url){
this.url = url;
this.storageKey = StorageKeys.SWAGGER_OFFLINE_DOC_START + RandomUtil.simpleUUID();
this.creationTime = new Date();
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getStorageKey() {
return storageKey;
}
public void setStorageKey(String storageKey) {
this.storageKey = storageKey;
}
public Date getCreationTime() {
return creationTime;
}
public void setCreationTime(Date creationTime) {
this.creationTime = creationTime;
}
public Date getLastSync() {
return lastSync;
}
public void setLastSync(Date lastSync) {
this.lastSync = lastSync;
}
}