23 lines
453 B
TypeScript
23 lines
453 B
TypeScript
import { type Base, genBase } from './_base'
|
|
import type { Employee } from './employee'
|
|
export interface DivisionPosition extends Base {
|
|
code: string
|
|
name: string
|
|
headStatus?: boolean
|
|
division_id: string
|
|
employee_id?: number
|
|
|
|
employee?: Employee | null
|
|
}
|
|
|
|
export function genDivisionPosition(): DivisionPosition {
|
|
return {
|
|
...genBase(),
|
|
code: '',
|
|
name: '',
|
|
headStatus: false,
|
|
division_id: '',
|
|
employee_id: 0,
|
|
}
|
|
}
|