From ec8a1c6f81b5747e9efce86faaba33d10df7f61d Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期日, 01 三月 2020 16:37:26 +0800 Subject: [PATCH] 动态提示语调整 --- fanli/src/main/java/com/yeshi/fanli/vo/msg/ClientTextStyleVO.java | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 59 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 844023e..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,12 +1,54 @@ 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; this.color = color; + } + + 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; + } + + public ClientTextStyleVO(String img) { + this.img = img; + } + + public String getImg() { + return img; + } + + public void setImg(String img) { + this.img = img; } public ClientTextStyleVO() { @@ -27,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