ba0ac753b2
- Add new handler, service, and schema files for subspecialist position - Update list configuration and entry form components - Modify list view to display subspecialist position data - Include subspecialist relation in position model
26 lines
570 B
TypeScript
26 lines
570 B
TypeScript
import { type Base, genBase } from './_base'
|
|
import type { Employee } from './employee'
|
|
import type { Subspecialist } from './subspecialist'
|
|
|
|
export interface SubSpecialistPosition extends Base {
|
|
subspecialist_id: number
|
|
code: string
|
|
name: string
|
|
headStatus?: boolean
|
|
employee_id?: number
|
|
|
|
subspecialist?: Subspecialist | null
|
|
employee?: Employee | null
|
|
}
|
|
|
|
export function genSubSpecialistPosition(): SubSpecialistPosition {
|
|
return {
|
|
...genBase(),
|
|
subspecialist_id: 0,
|
|
code: '',
|
|
name: '',
|
|
headStatus: false,
|
|
employee_id: 0,
|
|
}
|
|
}
|