Files
DianZhanDemo/shared/types/user.ts
ch197511161 aaaf08e8f3 init6
2025-12-11 02:09:07 +08:00

20 lines
410 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 用户相关类型定义
* User-related type definitions
*/
import { BaseEntity } from './base'
/**
* 用户实体接口
* User entity interface
*/
export interface User extends BaseEntity {
name: string
email: string
age: number | null
}
// 注意CreateUserInput 和 UpdateUserInput 类型现在在 ~/shared/schemas/user.ts 中定义
// 请从 ~/shared/schemas/user 导入这些类型