📄 basevpanoramahotspot.java
字号:
package com.shandong.bean.base;
import java.io.Serializable;
/**
* This is an object that contains data related to the V_PANORAMA_HOTSPOT table.
* Do not modify this class because it will be overwritten if the configuration file
* related to this class is modified.
*
* @hibernate.class
* table="V_PANORAMA_HOTSPOT"
*/
public abstract class BaseVPanoramaHotspot implements Serializable {
public static String REF = "VPanoramaHotspot";
public static String PROP_LINK = "Link";
public static String PROP_VIDEO = "Video";
public static String PROP_NAME = "Name";
public static String PROP_INFO = "Info";
// constructors
public BaseVPanoramaHotspot () {
initialize();
}
/**
* Constructor for primary key
*/
public BaseVPanoramaHotspot (
java.lang.String panorama,
java.lang.Integer hotspot) {
this.setPanorama(panorama);
this.setHotspot(hotspot);
initialize();
}
protected void initialize () {}
private int hashCode = Integer.MIN_VALUE;
// primary key
private java.lang.String panorama;
private java.lang.Integer hotspot;
// fields
private java.lang.String name;
private java.lang.String info;
private java.lang.String video;
private java.lang.String link;
/**
* @hibernate.property
* column=Panorama
* not-null=true
*/
public java.lang.String getPanorama () {
return this.panorama;
}
/**
* Set the value related to the column: Panorama
* @param panorama the Panorama value
*/
public void setPanorama (java.lang.String panorama) {
this.panorama = panorama;
this.hashCode = Integer.MIN_VALUE;
}
/**
* @hibernate.property
* column=Hotspot
* not-null=true
*/
public java.lang.Integer getHotspot () {
return this.hotspot;
}
/**
* Set the value related to the column: Hotspot
* @param hotspot the Hotspot value
*/
public void setHotspot (java.lang.Integer hotspot) {
this.hotspot = hotspot;
this.hashCode = Integer.MIN_VALUE;
}
/**
* Return the value associated with the column: Name
*/
public java.lang.String getName () {
return name;
}
/**
* Set the value related to the column: Name
* @param name the Name value
*/
public void setName (java.lang.String name) {
this.name = name;
}
/**
* Return the value associated with the column: Info
*/
public java.lang.String getInfo () {
return info;
}
/**
* Set the value related to the column: Info
* @param info the Info value
*/
public void setInfo (java.lang.String info) {
this.info = info;
}
/**
* Return the value associated with the column: Video
*/
public java.lang.String getVideo () {
return video;
}
/**
* Set the value related to the column: Video
* @param video the Video value
*/
public void setVideo (java.lang.String video) {
this.video = video;
}
/**
* Return the value associated with the column: Link
*/
public java.lang.String getLink () {
return link;
}
/**
* Set the value related to the column: Link
* @param link the Link value
*/
public void setLink (java.lang.String link) {
this.link = link;
}
public boolean equals (Object obj) {
if (null == obj) return false;
if (!(obj instanceof com.shandong.bean.VPanoramaHotspot)) return false;
else {
com.shandong.bean.VPanoramaHotspot vPanoramaHotspot = (com.shandong.bean.VPanoramaHotspot) obj;
if (null != this.getPanorama() && null != vPanoramaHotspot.getPanorama()) {
if (!this.getPanorama().equals(vPanoramaHotspot.getPanorama())) {
return false;
}
}
else {
return false;
}
if (null != this.getHotspot() && null != vPanoramaHotspot.getHotspot()) {
if (!this.getHotspot().equals(vPanoramaHotspot.getHotspot())) {
return false;
}
}
else {
return false;
}
return true;
}
}
public int hashCode () {
if (Integer.MIN_VALUE == this.hashCode) {
StringBuilder sb = new StringBuilder();
if (null != this.getPanorama()) {
sb.append(this.getPanorama().hashCode());
sb.append(":");
}
else {
return super.hashCode();
}
if (null != this.getHotspot()) {
sb.append(this.getHotspot().hashCode());
sb.append(":");
}
else {
return super.hashCode();
}
this.hashCode = sb.toString().hashCode();
}
return this.hashCode;
}
public String toString () {
return super.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -