?? adv.java
字號:
package src.com.laoer.bbscs.bean;
import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerator */
public class Adv
implements Serializable {
/** identifier field */
private Long id;
/** nullable persistent field */
private String title;
/** nullable persistent field */
private String url;
/** nullable persistent field */
private String imgSrc;
/** nullable persistent field */
private short type;
/** nullable persistent field */
private int high;
/** nullable persistent field */
private int width;
private short isFlash;
/** full constructor */
public Adv(String title, String url, String imgSrc, short type, int high,
int width) {
this.title = title;
this.url = url;
this.imgSrc = imgSrc;
this.type = type;
this.high = high;
this.width = width;
}
/** default constructor */
public Adv() {
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getImgSrc() {
return this.imgSrc;
}
public void setImgSrc(String imgSrc) {
this.imgSrc = imgSrc;
}
public short getType() {
return this.type;
}
public void setType(short type) {
this.type = type;
}
public int getHigh() {
return this.high;
}
public void setHigh(int high) {
this.high = high;
}
public int getWidth() {
return this.width;
}
public void setWidth(int width) {
this.width = width;
}
public String toString() {
return new ToStringBuilder(this)
.append("id", getId())
.toString();
}
public short getIsFlash() {
return isFlash;
}
public void setIsFlash(short isFlash) {
this.isFlash = isFlash;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -