add field rootDnaId

This commit is contained in:
Bright 2025-02-05 09:25:33 +07:00
parent 08c144066b
commit dbe6916782
3 changed files with 6 additions and 0 deletions

View file

@ -25,5 +25,8 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("ชื่อย่อหน่วยงาน root")]
public string? rootShortName { get; set; }
[Comment("id DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้")]
public string? rootDnaId { get; set; }
}
}

View file

@ -1843,6 +1843,7 @@ namespace BMA.EHR.Placement.Service.Controllers
root = profile.root,
rootId = profile.rootId,
rootShortName = profile.rootShortName,
rootDnaId = profile.rootDnaId,
CreatedFullName = FullName ?? "System Administrator",
CreatedUserId = UserId ?? "",

View file

@ -17,5 +17,7 @@ namespace BMA.EHR.Placement.Service.Requests
public string? root { get; set; }
public string? rootId { get; set; }
public string? rootShortName { get; set; }
public string? rootDnaId { get; set; }
}
}