From f818c726c82233a3b3081c651b9aa6d2db5825be Mon Sep 17 00:00:00 2001 From: hasyim_kai Date: Fri, 21 Nov 2025 14:09:54 +0700 Subject: [PATCH] Fix: typo in Unit Position Model --- app/models/unit-position.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,