JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Index
Search
Help
io.github.xezzon.zeroweb.common.jpa
IEntity
Contents
Description
Method Summary
Method Details
getId()
Hide sidebar
Show sidebar
Interface IEntity<T>
Type Parameters:
T
- 实体 ID 的类型
@MappedSuperclass
public interface
IEntity<T>
基础实体接口。
所有需要持久化的实体类都应实现此接口,以提供统一的 ID 访问方式。
Author:
xezzon
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
T
getId
()
获取实体 ID。
Method Details
getId
T
getId
()
获取实体 ID。
Returns:
实体 ID