@Embeddable
public class VisitDayId
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private static long |
serialVersionUID |
private short |
siteId |
private java.util.Date |
visitDate
visit date
访问日期
|
private byte |
visitHour
visit hour
访问小时
|
构造器和说明 |
---|
VisitDayId() |
VisitDayId(short siteId,
java.util.Date visitDate,
byte visitHour) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object other) |
short |
getSiteId() |
java.util.Date |
getVisitDate() |
byte |
getVisitHour() |
int |
hashCode() |
void |
setSiteId(short siteId) |
void |
setVisitDate(java.util.Date visitDate) |
void |
setVisitHour(byte visitHour) |
private static final long serialVersionUID
private short siteId
private java.util.Date visitDate
访问日期
private byte visitHour
访问小时
public VisitDayId()
public VisitDayId(short siteId, java.util.Date visitDate, byte visitHour)
public short getSiteId()
public void setSiteId(short siteId)
public java.util.Date getVisitDate()
public void setVisitDate(java.util.Date visitDate)
public byte getVisitHour()
public void setVisitHour(byte visitHour)
public boolean equals(java.lang.Object other)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object