Information.java~28~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:3k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- package com.chinacannel.entity;
- import java.io.*;
- import java.util.*;
- import org.apache.commons.lang.builder.*;
- public class Information implements Serializable {
- private Long inf_ID;
- private String inf_Title;
- private String inf_Content;
- private Date inf_Time;
- private Menu menu = new Menu();
- private Long inf_Default;
- private String inf_Language;
- private String inf_Key = "";
- private Category category = null;
- private Image image = null;
- private String inf_Summary;
- private Long inf_Index;
- private Long inf_Click;
- public boolean equals(Object other) {
- if (!(other instanceof Information))
- return false;
- Information castOther = (Information) other;
- return new EqualsBuilder()
- .append(this.getInf_ID(), castOther.getInf_ID())
- .isEquals();
- }
- public int hashCode() {
- return new HashCodeBuilder()
- .append(getInf_ID())
- .toHashCode();
- }
- public String getInf_Content() {
- return inf_Content;
- }
- public Long getInf_ID() {
- return inf_ID;
- }
- public String getInf_Key() {
- return inf_Key;
- }
- public String getInf_Language() {
- return inf_Language;
- }
- public Date getInf_Time() {
- return inf_Time;
- }
- public String getInf_Title() {
- return inf_Title;
- }
- public Menu getMenu() {
- return menu;
- }
- public Long getInf_Default() {
- return inf_Default;
- }
- public Category getCategory() {
- return category;
- }
- public Image getImage() {
- return image;
- }
- public Long getInf_Index() {
- return inf_Index;
- }
- public String getInf_Summary() {
- return inf_Summary;
- }
- public void setInf_Content(String inf_Content) {
- this.inf_Content = inf_Content;
- }
- public void setInf_ID(Long inf_ID) {
- this.inf_ID = inf_ID;
- }
- public void setInf_Key(String inf_Key) {
- this.inf_Key = inf_Key;
- }
- public void setInf_Language(String inf_Language) {
- this.inf_Language = inf_Language;
- }
- public void setInf_Time(Date inf_Time) {
- this.inf_Time = inf_Time;
- }
- public void setInf_Title(String inf_Title) {
- this.inf_Title = inf_Title;
- }
- public void setMenu(Menu menu) {
- this.menu = menu;
- }
- public void setInf_Default(Long inf_Default) {
- this.inf_Default = inf_Default;
- }
- public void setCategory(Category category) {
- this.category = category;
- }
- public void setImage(Image image) {
- this.image = image;
- }
- public void setInf_Index(Long inf_Index) {
- this.inf_Index = inf_Index;
- }
- public void setInf_Summary(String inf_Summary) {
- this.inf_Summary = inf_Summary;
- }
- }