mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-12 07:02:14 +08:00
2.1.2
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
package com.gitee.sop.adminserver.bean;
|
package com.gitee.sop.adminserver.bean;
|
||||||
|
|
||||||
import com.alibaba.fastjson.annotation.JSONField;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@@ -14,15 +13,12 @@ public class ServiceRouteInfo {
|
|||||||
/** 服务名称,对应spring.application.name */
|
/** 服务名称,对应spring.application.name */
|
||||||
private String serviceId;
|
private String serviceId;
|
||||||
|
|
||||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
|
||||||
private Date createTime = new Date();
|
private Date createTime = new Date();
|
||||||
|
|
||||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
|
||||||
private Date updateTime = new Date();
|
private Date updateTime = new Date();
|
||||||
|
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
@JSONField(serialize = false)
|
|
||||||
private List<RouteDefinition> routeDefinitionList;
|
private List<RouteDefinition> routeDefinitionList;
|
||||||
|
|
||||||
/** 是否是自定义服务,1:是,0:否 */
|
/** 是否是自定义服务,1:是,0:否 */
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
package com.gitee.sop.gatewaycommon.bean;
|
package com.gitee.sop.gatewaycommon.bean;
|
||||||
|
|
||||||
import com.alibaba.fastjson.annotation.JSONField;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@@ -17,10 +16,8 @@ public class ServiceRouteInfo {
|
|||||||
*/
|
*/
|
||||||
private String serviceId;
|
private String serviceId;
|
||||||
|
|
||||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
|
||||||
private Date createTime = new Date();
|
private Date createTime = new Date();
|
||||||
|
|
||||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
|
||||||
private Date updateTime = new Date();
|
private Date updateTime = new Date();
|
||||||
|
|
||||||
private String description;
|
private String description;
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
package com.gitee.sop.servercommon.route;
|
package com.gitee.sop.servercommon.route;
|
||||||
|
|
||||||
import com.alibaba.fastjson.annotation.JSONField;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
Reference in New Issue
Block a user