- Implement detail view for subspecialist with specialist relation - Add position management functionality including CRUD operations - Create new components for detail display and position listing - Update service to handle position-related requests - Include employee selection for position assignments
19 lines
383 B
TypeScript
19 lines
383 B
TypeScript
import { type Base, genBase } from './_base'
|
|
import { type Specialist } from './specialist'
|
|
export interface Subspecialist extends Base {
|
|
code: string
|
|
name: string
|
|
specialist_id?: number | string | null
|
|
|
|
specialist?: Specialist | null
|
|
}
|
|
|
|
export function genSubspecialist(): Subspecialist {
|
|
return {
|
|
...genBase(),
|
|
code: '',
|
|
name: '',
|
|
specialist_id: 0,
|
|
}
|
|
}
|