From 819f08fcbe49d94d5d359d7f155861ca2e8abebb Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期三, 08 一月 2020 14:47:25 +0800
Subject: [PATCH] 参数trim
---
fanli/src/main/java/com/yeshi/fanli/vo/msg/ClientTextStyleVO.java | 41 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/vo/msg/ClientTextStyleVO.java b/fanli/src/main/java/com/yeshi/fanli/vo/msg/ClientTextStyleVO.java
index 5cd5bd8..bafdde4 100644
--- a/fanli/src/main/java/com/yeshi/fanli/vo/msg/ClientTextStyleVO.java
+++ b/fanli/src/main/java/com/yeshi/fanli/vo/msg/ClientTextStyleVO.java
@@ -1,9 +1,25 @@
package com.yeshi.fanli.vo.msg;
-public class ClientTextStyleVO {
+import java.io.Serializable;
+
+import com.google.gson.annotations.Expose;
+
+public class ClientTextStyleVO implements Serializable{
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1L;
+ @Expose
private String content;
+ @Expose
private String color;
+ @Expose
+ private String bottomColor;
+ @Expose
private String img;
+ @Expose
+ private String fontSize = "1"; // 瀛椾綋鍊嶆暟
+
public ClientTextStyleVO(String content, String color) {
this.content = content;
@@ -13,6 +29,13 @@
public ClientTextStyleVO(String content, String color, String img) {
this.content = content;
this.color = color;
+ this.img = img;
+ }
+
+ public ClientTextStyleVO(String content, String color, String bottomColor, String img) {
+ this.content = content;
+ this.color = color;
+ this.bottomColor = bottomColor;
this.img = img;
}
@@ -46,4 +69,20 @@
public void setColor(String color) {
this.color = color;
}
+
+ public String getBottomColor() {
+ return bottomColor;
+ }
+
+ public void setBottomColor(String bottomColor) {
+ this.bottomColor = bottomColor;
+ }
+
+ public String getFontSize() {
+ return fontSize;
+ }
+
+ public void setFontSize(String fontSize) {
+ this.fontSize = fontSize;
+ }
}
--
Gitblit v1.8.0