เปลี่ยน DEFAULT สิทธิ์เป็น "CHILD" กรณีไม่ตั้งค่ามา #2431
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m53s
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m53s
This commit is contained in:
parent
ee2d16925a
commit
058027ea29
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ namespace BMA.EHR.Application.Responses.Leaves
|
||||||
public string posNo {get; set;} = string.Empty;
|
public string posNo {get; set;} = string.Empty;
|
||||||
//public string? privilege {get; set;} = "PARENT";
|
//public string? privilege {get; set;} = "PARENT";
|
||||||
[JsonConverter(typeof(PrivilegeConverter))]
|
[JsonConverter(typeof(PrivilegeConverter))]
|
||||||
public string privilege {get; set;} = "PARENT";
|
public string privilege {get; set;} = "CHILD";
|
||||||
|
|
||||||
public Guid? rootDnaId {get; set;}
|
public Guid? rootDnaId {get; set;}
|
||||||
public Guid? child1DnaId {get; set;}
|
public Guid? child1DnaId {get; set;}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ namespace BMA.EHR.Domain.Shared
|
||||||
{
|
{
|
||||||
if (reader.TokenType == JsonToken.Null)
|
if (reader.TokenType == JsonToken.Null)
|
||||||
{
|
{
|
||||||
return "PARENT";
|
return "CHILD";
|
||||||
}
|
}
|
||||||
return reader.Value;
|
return reader.Value;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue