15 lines
267 B
TypeScript
15 lines
267 B
TypeScript
|
|
/**
|
||
|
|
* 基础类型定义
|
||
|
|
* Base type definitions
|
||
|
|
*/
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 基础实体接口 - 所有实体都应该有的基础字段
|
||
|
|
* Base entity interface - common fields for all entities
|
||
|
|
*/
|
||
|
|
export interface BaseEntity {
|
||
|
|
id: number
|
||
|
|
createdAt: Date
|
||
|
|
updatedAt: Date
|
||
|
|
}
|