diff --git a/app/models/unit-position.ts b/app/models/unit-position.ts index a583d948..3e1dc426 100644 --- a/app/models/unit-position.ts +++ b/app/models/unit-position.ts @@ -2,7 +2,7 @@ import { type Base, genBase } from './_base' import type { Employee } from './employee' export interface UnitPosition extends Base { - unit_code: string + unit_id: string code: string name: string headStatus?: boolean @@ -14,7 +14,7 @@ export interface UnitPosition extends Base { export function genUnitPosition(): UnitPosition { return { ...genBase(), - unit_code: '', + unit_id: '', code: '', name: '', headStatus: false,