init6
This commit is contained in:
14
shared/types/base.ts
Normal file
14
shared/types/base.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 基础类型定义
|
||||
* Base type definitions
|
||||
*/
|
||||
|
||||
/**
|
||||
* 基础实体接口 - 所有实体都应该有的基础字段
|
||||
* Base entity interface - common fields for all entities
|
||||
*/
|
||||
export interface BaseEntity {
|
||||
id: number
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}
|
||||
Reference in New Issue
Block a user