- java.lang.Object
-
- me.gaigeshen.mybatis.helper.BaseEntity<ID>
-
-
Constructor Summary
Constructors
| Constructor and Description |
BaseEntity() |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BaseEntity
public BaseEntity()
-
Method Detail
-
getId
public ID getId()
Description copied from interface: Entity
Returns id value
- Specified by:
getId in interface Entity<ID extends java.io.Serializable>
- Returns:
- The id value
-
setId
public void setId(ID id)
Description copied from interface: Entity
Set id value
- Specified by:
setId in interface Entity<ID extends java.io.Serializable>
- Parameters:
id - Id value
-
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2019. All Rights Reserved.