From 0b6952d0fe5c7f865f78b0531f3d476634fa091a Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期六, 08 五月 2021 17:05:18 +0800 Subject: [PATCH] fix 日志时间sql符号转换问题 --- ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java | 91 +++++++++++++++++++++------------------------ 1 files changed, 42 insertions(+), 49 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java index e83ef10..e389f5d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java @@ -1,49 +1,42 @@ -package com.ruoyi.system.domain.vo; - -/** - * 璺敱鏄剧ず淇℃伅 - * - * @author ruoyi - */ -public class MetaVo -{ - /** - * 璁剧疆璇ヨ矾鐢卞湪渚ц竟鏍忓拰闈㈠寘灞戜腑灞曠ず鐨勫悕瀛� - */ - private String title; - - /** - * 璁剧疆璇ヨ矾鐢辩殑鍥炬爣锛屽搴旇矾寰剆rc/icons/svg - */ - private String icon; - - public MetaVo() - { - } - - public MetaVo(String title, String icon) - { - this.title = title; - this.icon = icon; - } - - public String getTitle() - { - return title; - } - - public void setTitle(String title) - { - this.title = title; - } - - public String getIcon() - { - return icon; - } - - public void setIcon(String icon) - { - this.icon = icon; - } -} +package com.ruoyi.system.domain.vo; + +import lombok.*; +import lombok.experimental.Accessors; + +/** + * 璺敱鏄剧ず淇℃伅 + * + * @author ruoyi + */ + +@Data +@NoArgsConstructor +@Accessors(chain = true) +public class MetaVo { + /** + * 璁剧疆璇ヨ矾鐢卞湪渚ц竟鏍忓拰闈㈠寘灞戜腑灞曠ず鐨勫悕瀛� + */ + private String title; + + /** + * 璁剧疆璇ヨ矾鐢辩殑鍥炬爣锛屽搴旇矾寰剆rc/assets/icons/svg + */ + private String icon; + + /** + * 璁剧疆涓簍rue锛屽垯涓嶄細琚� <keep-alive>缂撳瓨 + */ + private boolean noCache; + + public MetaVo(String title, String icon) { + this.title = title; + this.icon = icon; + } + + public MetaVo(String title, String icon, boolean noCache) { + this.title = title; + this.icon = icon; + this.noCache = noCache; + } + +} -- Gitblit v1.9.3