18 lines
303 B
TypeScript
18 lines
303 B
TypeScript
import type { ItemMeta } from "./_model"
|
|
|
|
export interface Specialist extends ItemMeta {
|
|
code: string
|
|
name: string
|
|
unit_id: number | string
|
|
}
|
|
|
|
export function genSpecialist(): Specialist {
|
|
return {
|
|
id: 0,
|
|
createdAt: '',
|
|
updatedAt: '',
|
|
code: '',
|
|
name: '',
|
|
unit_id: 0
|
|
}
|
|
} |