Link.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 Link implements Serializable {
- private Long lin_ID;
- private String lin_CName;
- private String lin_EName;
- private String lin_Url;
- private Long lin_Type;
- private Image image;
- public boolean equals(Object other) {
- if (!(other instanceof Link))
- return false;
- Link castOther = (Link) other;
- return new EqualsBuilder()
- .append(this.getLin_ID(), castOther.getLin_ID())
- .isEquals();
- }
- public int hashCode() {
- return new HashCodeBuilder()
- .append(getLin_ID())
- .toHashCode();
- }
- public String getLin_CName() {
- return lin_CName;
- }
- public String getLin_EName() {
- return lin_EName;
- }
- public Long getLin_ID() {
- return lin_ID;
- }
- public Long getLin_Type() {
- return lin_Type;
- }
- public String getLin_Url() {
- return lin_Url;
- }
- public Image getImage() {
- return image;
- }
- public void setLin_CName(String lin_CName) {
- this.lin_CName = lin_CName;
- }
- public void setLin_EName(String lin_EName) {
- this.lin_EName = lin_EName;
- }
- public void setLin_ID(Long lin_ID) {
- this.lin_ID = lin_ID;
- }
- public void setLin_Type(Long lin_Type) {
- this.lin_Type = lin_Type;
- }
- public void setLin_Url(String lin_Url) {
- this.lin_Url = lin_Url;
- }
- public void setImage(Image image) {
- this.image = image;
- }
- }