add pos exe

This commit is contained in:
kittapath 2025-03-14 15:32:17 +07:00
parent 00d0f1f0fb
commit a4ebb83184
2 changed files with 10 additions and 0 deletions

View file

@ -2188,6 +2188,7 @@ export class DevelopmentController extends Controller {
position: x.plannedGoalPositions.map((y) => ({
id: y.id,
position: y.position,
posExecutive: y.posExecutive,
posTypeId: y.posTypePlannedId,
posType: y.posTypePlanned == null ? null : y.posTypePlanned.posTypeName,
posLevelId: y.posLevelPlannedId,

View file

@ -13,6 +13,13 @@ export class PlannedGoalPosition extends EntityBase {
})
position: string;
@Column({
nullable: true,
comment: "ตำแหน่งทางการบริหาร",
default: null,
})
posExecutive: string;
@Column({
nullable: true,
comment: "ประเภทตำแหน่ง",
@ -51,6 +58,8 @@ export class CreatePlannedGoalPosition {
@Column()
position: string | null;
@Column()
posExecutive: string | null;
@Column()
posTypePlannedId: string | null;
@Column()
posLevelPlannedId: string | null;