⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adv.java

📁 天乙社区6.0是一套基于JAVA技术的网络虚拟社区
💻 JAVA
字号:
package 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 + -