com.github.dactiv.showcase.entity
类 IdEntity
java.lang.Object
com.github.dactiv.showcase.entity.IdEntity
- 所有已实现的接口:
- Serializable
- 直接已知子类:
- DataDictionary, DictionaryCategory, Group, OperatingRecord, Resource, User
@MappedSuperclass
public class IdEntity
- extends Object
- implements Serializable
UUID主键父类
- 作者:
- maurice
- 另请参见:
- 序列化表格
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected String id
IdEntity
public IdEntity()
getId
public String getId()
- 获取主键ID
- 返回:
- String
setId
public void setId(String id)
- 设置主键ID,
- 参数:
id -
Copyright © 2014. All rights reserved.