21 lines
360 B
TypeScript
21 lines
360 B
TypeScript
import { type Base, genBase } from './_base'
|
|
|
|
export interface UnitPosition extends Base {
|
|
unit_id: number
|
|
code: string
|
|
name: string
|
|
headStatus?: boolean
|
|
employee_id?: number
|
|
}
|
|
|
|
export function genUnitPosition(): UnitPosition {
|
|
return {
|
|
...genBase(),
|
|
unit_id: 0,
|
|
code: '',
|
|
name: '',
|
|
headStatus: false,
|
|
employee_id: 0,
|
|
}
|
|
}
|