From 058027ea294044ccf02542d13dcfebdca383469c Mon Sep 17 00:00:00 2001 From: Suphonchai Phoonsawat Date: Fri, 17 Apr 2026 20:11:18 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9B=E0=B8=A5=E0=B8=B5=E0=B9=88?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=20DEFAULT=20=E0=B8=AA=E0=B8=B4=E0=B8=97?= =?UTF-8?q?=E0=B8=98=E0=B8=B4=E0=B9=8C=E0=B9=80=E0=B8=9B=E0=B9=87=E0=B8=99?= =?UTF-8?q?=20"CHILD"=20=E0=B8=81=E0=B8=A3=E0=B8=93=E0=B8=B5=E0=B9=84?= =?UTF-8?q?=E0=B8=A1=E0=B9=88=E0=B8=95=E0=B8=B1=E0=B9=89=E0=B8=87=E0=B8=84?= =?UTF-8?q?=E0=B9=88=E0=B8=B2=E0=B8=A1=E0=B8=B2=20#2431?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Responses/Leaves/GetPermissionWithActingDto.cs | 2 +- BMA.EHR.Domain/Shared/PrivilegeConverter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BMA.EHR.Application/Responses/Leaves/GetPermissionWithActingDto.cs b/BMA.EHR.Application/Responses/Leaves/GetPermissionWithActingDto.cs index dc4cbdb9..083c4b20 100644 --- a/BMA.EHR.Application/Responses/Leaves/GetPermissionWithActingDto.cs +++ b/BMA.EHR.Application/Responses/Leaves/GetPermissionWithActingDto.cs @@ -19,7 +19,7 @@ namespace BMA.EHR.Application.Responses.Leaves public string posNo {get; set;} = string.Empty; //public string? privilege {get; set;} = "PARENT"; [JsonConverter(typeof(PrivilegeConverter))] - public string privilege {get; set;} = "PARENT"; + public string privilege {get; set;} = "CHILD"; public Guid? rootDnaId {get; set;} public Guid? child1DnaId {get; set;} diff --git a/BMA.EHR.Domain/Shared/PrivilegeConverter.cs b/BMA.EHR.Domain/Shared/PrivilegeConverter.cs index fa806658..4dc7fd85 100644 --- a/BMA.EHR.Domain/Shared/PrivilegeConverter.cs +++ b/BMA.EHR.Domain/Shared/PrivilegeConverter.cs @@ -17,7 +17,7 @@ namespace BMA.EHR.Domain.Shared { if (reader.TokenType == JsonToken.Null) { - return "PARENT"; + return "CHILD"; } return reader.Value; }