项目初始导入
This commit is contained in:
45
src/main/java/com/nis/supcan/Background.java
Normal file
45
src/main/java/com/nis/supcan/Background.java
Normal file
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
|
||||
*/
|
||||
package com.nis.supcan;
|
||||
|
||||
import com.nis.util.ObjectUtils;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
|
||||
|
||||
/**
|
||||
* 硕正TreeList Properties Background
|
||||
* @author WangZhen
|
||||
* @version 2013-11-04
|
||||
*/
|
||||
@XStreamAlias("Background")
|
||||
public class Background {
|
||||
|
||||
/**
|
||||
* 背景颜色
|
||||
*/
|
||||
@XStreamAsAttribute
|
||||
private String bgColor = "#FDFDFD";
|
||||
|
||||
public Background() {
|
||||
|
||||
}
|
||||
|
||||
public Background(SupBackground supBackground) {
|
||||
this();
|
||||
ObjectUtils.annotationToObject(supBackground, this);
|
||||
}
|
||||
|
||||
public Background(String bgColor) {
|
||||
this();
|
||||
this.bgColor = bgColor;
|
||||
}
|
||||
|
||||
public String getBgColor() {
|
||||
return bgColor;
|
||||
}
|
||||
|
||||
public void setBgColor(String bgColor) {
|
||||
this.bgColor = bgColor;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user