DefaultColumn.java~3~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- package com.chinacannel.entity;
- import java.io.Serializable;
- import org.apache.commons.lang.builder.HashCodeBuilder;
- import org.apache.commons.lang.builder.EqualsBuilder;
- public class DefaultColumn implements Serializable {
- private Long def_ID;
- private String def_Name;
- private String def_Url;
- public boolean equals(Object other) {
- if (!(other instanceof DefaultColumn))
- return false;
- DefaultColumn castOther = (DefaultColumn) other;
- return new EqualsBuilder()
- .append(this.getAdm_ID(), castOther.getAdm_ID())
- .isEquals();
- }
- public int hashCode() {
- return new HashCodeBuilder()
- .append(getAdm_ID())
- .toHashCode();
- }
- public Long getDef_ID() {
- return def_ID;
- }
- public String getDef_Name() {
- return def_Name;
- }
- public String getDef_Url() {
- return def_Url;
- }
- public void setDef_ID(Long def_ID) {
- this.def_ID = def_ID;
- }
- public void setDef_Name(String def_Name) {
- this.def_Name = def_Name;
- }
- public void setDef_Url(String def_Url) {
- this.def_Url = def_Url;
- }
- }