Model.java
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- package com.chinacannel.entity;
- import java.io.*;
- import org.apache.commons.lang.builder.*;
- public class Model implements Serializable {
- private Long mod_ID = new Long(0);
- private String mod_CnName = "";
- private String mod_Url = "";
- private Long mod_Superior = new Long(0);
- private Long mod_Order = new Long(0);
- private String mod_EnName = "";
- private String mod_Key = "";
- private String mod_EnUrl = "";
- public boolean equals(Object other) {
- if (!(other instanceof Model))
- return false;
- Model castOther = (Model) other;
- return new EqualsBuilder()
- .append(this.getMod_ID(), castOther.getMod_ID())
- .isEquals();
- }
- public int hashCode() {
- return new HashCodeBuilder()
- .append(getMod_ID())
- .toHashCode();
- }
- public String getMod_CnName() {
- return mod_CnName;
- }
- public String getMod_EnName() {
- return mod_EnName;
- }
- public Long getMod_ID() {
- return mod_ID;
- }
- public Long getMod_Order() {
- return mod_Order;
- }
- public Long getMod_Superior() {
- return mod_Superior;
- }
- public String getMod_Url() {
- return mod_Url;
- }
- public String getMod_Key() {
- return mod_Key;
- }
- public String getMod_EnUrl() {
- return mod_EnUrl;
- }
- public void setMod_CnName(String mod_CnName) {
- this.mod_CnName = mod_CnName;
- }
- public void setMod_EnName(String mod_EnName) {
- this.mod_EnName = mod_EnName;
- }
- public void setMod_ID(Long mod_ID) {
- this.mod_ID = mod_ID;
- }
- public void setMod_Order(Long mod_Order) {
- this.mod_Order = mod_Order;
- }
- public void setMod_Superior(Long mod_Superior) {
- this.mod_Superior = mod_Superior;
- }
- public void setMod_Url(String mod_Url) {
- this.mod_Url = mod_Url;
- }
- public void setMod_Key(String mod_Key) {
- this.mod_Key = mod_Key;
- }
- public void setMod_EnUrl(String mod_EnUrl) {
- this.mod_EnUrl = mod_EnUrl;
- }
- }