@MappedSuperclass public abstract class NumberIdTimeObject<T extends Number> extends NumberIdObject<T> implements TimeEntity
| Modifier and Type | Field and Description |
|---|---|
protected Date |
updatedAt
最后修改时间
|
id| Constructor and Description |
|---|
NumberIdTimeObject() |
NumberIdTimeObject(T id) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getUpdatedAt()
getUpdatedAt.
|
void |
setUpdatedAt(Date updatedAt)
setUpdatedAt.
|
equals, getId, hashCode, isPersisted, isTransient, setIdprotected Date updatedAt
public NumberIdTimeObject()
public NumberIdTimeObject(T id)
public Date getUpdatedAt()
TimeEntitygetUpdatedAt.
getUpdatedAt in interface TimeEntityDate object.public void setUpdatedAt(Date updatedAt)
TimeEntitysetUpdatedAt.
setUpdatedAt in interface TimeEntityupdatedAt - a Date object.Copyright © 2005–2018 The Beangle Software. All rights reserved.