Product.java
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- package com.chinacannel.entity;
- import java.io.*;
- import java.util.*;
- import org.apache.commons.lang.builder.*;
- public class Product implements Serializable {
- private Long pro_ID;
- private String pro_Name;
- private String pro_EnName;
- private String pro_Molecular;
- private String pro_Modality;
- private String pro_Action;
- private Image image;
- private String pro_Language;
- private Date pro_Time;
- public boolean equals(Object other) {
- if (!(other instanceof Product))
- return false;
- Product castOther = (Product) other;
- return new EqualsBuilder()
- .append(this.getPro_ID(), castOther.getPro_ID())
- .isEquals();
- }
- public int hashCode() {
- return new HashCodeBuilder()
- .append(getPro_ID())
- .toHashCode();
- }
- public Image getImage() {
- return image;
- }
- public String getPro_Action() {
- return pro_Action;
- }
- public String getPro_EnName() {
- return pro_EnName;
- }
- public Long getPro_ID() {
- return pro_ID;
- }
- public String getPro_Modality() {
- return pro_Modality;
- }
- public String getPro_Molecular() {
- return pro_Molecular;
- }
- public String getPro_Name() {
- return pro_Name;
- }
- public String getPro_Language() {
- return pro_Language;
- }
- public Date getPro_Time() {
- return pro_Time;
- }
- public void setImage(Image image) {
- this.image = image;
- }
- public void setPro_Action(String pro_Action) {
- this.pro_Action = pro_Action;
- }
- public void setPro_EnName(String pro_EnName) {
- this.pro_EnName = pro_EnName;
- }
- public void setPro_ID(Long pro_ID) {
- this.pro_ID = pro_ID;
- }
- public void setPro_Modality(String pro_Modality) {
- this.pro_Modality = pro_Modality;
- }
- public void setPro_Molecular(String pro_Molecular) {
- this.pro_Molecular = pro_Molecular;
- }
- public void setPro_Name(String pro_Name) {
- this.pro_Name = pro_Name;
- }
- public void setPro_Language(String pro_Language) {
- this.pro_Language = pro_Language;
- }
- public void setPro_Time(Date pro_Time) {
- this.pro_Time = pro_Time;
- }
- }