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

📄 menumodel.java

📁 WAP PUSH后台源码,WAP PUSH后台源码
💻 JAVA
字号:
package com.sxit.wap.menu;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class MenuModel implements java.io.Serializable {  int menuId = 0;  int imgId = 0;  int menuParent = 0;  int menuChannel = 0;  String menuName = "";  int menuAreacode = 0;  int menuVisible = 0;  String adName = "";  String adContent = "";  String adUrl = "";  int adState = 0;  int orderId = 0;  public MenuModel(int menuId, int imgId, int menuParent, int menuChannel, String menuName, int menuAreacode, int menuVisible, String adName, String adContent, String adUrl, int adState, int orderId){    this.menuId = menuId;    this.imgId = imgId;    this.menuParent = menuParent;    this.menuChannel = menuChannel;    if (menuName == null) menuName = "";    this.menuName = menuName;    this.menuAreacode = menuAreacode;    this.menuVisible = menuVisible;    if (adName == null) adName = "";    this.adName = adName;    if (adContent == null) adContent = "";    this.adContent = adContent;    if (adUrl == null) adUrl = "";    this.adUrl = adUrl;    this.adState = adState;    this.orderId = orderId;  }  public MenuModel(){  }  public int getMenuId() {     return menuId;  }  public int getImgId() {     return imgId;  }  public int getMenuParent() {     return menuParent;  }  public int getMenuChannel() {     return menuChannel;  }  public String getMenuName() {     if (menuName == null) menuName = "";     return menuName;  }  public int getMenuAreacode() {     return menuAreacode;  }  public int getMenuVisible() {     return menuVisible;  }  public String getAdName() {     if (adName == null) adName = "";     return adName;  }  public String getAdContent() {     if (adContent == null) adContent = "";     return adContent;  }  public String getAdUrl() {     if (adUrl == null) adUrl = "";     return adUrl;  }  public int getAdState() {     return adState;  }  public int getOrderId() {     return orderId;  }  public void setMenuId(int menuId) {    this.menuId = menuId;  }  public void setImgId(int imgId) {    this.imgId = imgId;  }  public void setMenuParent(int menuParent) {    this.menuParent = menuParent;  }  public void setMenuChannel(int menuChannel) {    this.menuChannel = menuChannel;  }  public void setMenuName(String menuName) {    this.menuName = menuName;  }  public void setMenuAreacode(int menuAreacode) {    this.menuAreacode = menuAreacode;  }  public void setMenuVisible(int menuVisible) {    this.menuVisible = menuVisible;  }  public void setAdName(String adName) {    this.adName = adName;  }  public void setAdContent(String adContent) {    this.adContent = adContent;  }  public void setAdUrl(String adUrl) {    this.adUrl = adUrl;  }  public void setAdState(int adState) {    this.adState = adState;  }  public void setOrderId(int orderId) {    this.orderId = orderId;  }  public String toString() {    String value = "";    value+= "menuId=" + menuId + "\n";    value+= "imgId=" + imgId + "\n";    value+= "menuParent=" + menuParent + "\n";    value+= "menuChannel=" + menuChannel + "\n";    value+= "menuName=" + menuName + "\n";    value+= "menuAreacode=" + menuAreacode + "\n";    value+= "menuVisible=" + menuVisible + "\n";    value+= "adName=" + adName + "\n";    value+= "adContent=" + adContent + "\n";    value+= "adUrl=" + adUrl + "\n";    value+= "adState=" + adState + "\n";    value+= "orderId=" + orderId + "\n";    return value;  }  public void copy(MenuModel other) {    this.setMenuId(other.getMenuId());    this.setImgId(other.getImgId());    this.setMenuParent(other.getMenuParent());    this.setMenuChannel(other.getMenuChannel());    this.setMenuName(other.getMenuName());    this.setMenuAreacode(other.getMenuAreacode());    this.setMenuVisible(other.getMenuVisible());    this.setAdName(other.getAdName());    this.setAdContent(other.getAdContent());    this.setAdUrl(other.getAdUrl());    this.setAdState(other.getAdState());    this.setOrderId(other.getOrderId());  }}

⌨️ 快捷键说明

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