information.java

来自「一个完整的网络订餐系统」· Java 代码 · 共 111 行

JAVA
111
字号
package com.information.form;

import com.util.StrUtility;

public class Information {
  private String informationID;
  private String infoTitle;
  private String infotype;
  private String infoabstract;
  private String keywords;
  private String comefrom;
  private String author;
  private String content;
  private String createdate;
  private String modifydate;
  private String storeID;
  private int countnum;

  public Information() {
  }

  public Information(String informationID,String infoTitle,
                     String infotype, String infoabstract,
                     String keywords, String comefrom,
                     String author, String content,
                     String storeID) {
    setInformationID(informationID);
    setInfoTitle(infoTitle);
    setInfotype(infotype);
    setInfoabstract(infoabstract);
    setKeywords(keywords);
    setComefrom(comefrom);
    setAuthor(author);
    setContent(content);
    setStoreID(storeID);
  }
  public String getAuthor() {
    return StrUtility.replacenull(author);
  }
  public String getComefrom() {
    return StrUtility.replacenull(comefrom);
  }
  public String getContent() {
    return StrUtility.replacenull(content);
  }
  public String getCreatedate() {
    return StrUtility.replacenull(createdate);
  }
  public String getInformationID() {
    return StrUtility.replacenull(informationID);
  }
  public String getInfotype() {
    return StrUtility.replacenull(infotype);
  }
  public String getKeywords() {
    return StrUtility.replacenull(keywords);
  }
  public String getModifydate() {
    return StrUtility.replacenull(modifydate);
  }
  public String getStoreID() {
    return StrUtility.replacenull(storeID);
  }
  public void setAuthor(String author) {
    this.author = author;
  }
  public void setComefrom(String comefrom) {
    this.comefrom = comefrom;
  }
  public void setContent(String content) {
    this.content = content;
  }
  public void setCreatedate(String createdate) {
    this.createdate = createdate;
  }
  public void setInformationID(String informationID) {
    this.informationID = informationID;
  }
  public void setInfotype(String infotype) {
    this.infotype = infotype;
  }
  public void setKeywords(String keywords) {
    this.keywords = keywords;
  }
  public void setModifydate(String modifydate) {
    this.modifydate = modifydate;
  }
  public void setStoreID(String storeID) {
    this.storeID = storeID;
  }
  public String getInfoabstract() {
    return StrUtility.replacenull(infoabstract);
  }
  public String getInfoTitle() {
    return StrUtility.replacenull(infoTitle);
  }
  public void setInfoabstract(String infoabstract) {
    this.infoabstract = infoabstract;
  }
  public void setInfoTitle(String infoTitle) {
    this.infoTitle = infoTitle;
  }
  public int getCountnum() {
    return countnum;
  }
  public void setCountnum(int countnum) {
    this.countnum = countnum;
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?