using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BMA.EHR.Domain.Shared; using Newtonsoft.Json; namespace BMA.EHR.Application.Responses.Leaves { public class GetPermissionWithActingDto { public string privilege {get; set;} = string.Empty; public bool isAct {get; set;} = false; public List posMasterActs {get; set;} = new(); } public class ActingPermission { public string posNo {get; set;} = string.Empty; //public string? privilege {get; set;} = "PARENT"; [JsonConverter(typeof(PrivilegeConverter))] public string privilege {get; set;} = "CHILD"; public Guid? rootDnaId {get; set;} public Guid? child1DnaId {get; set;} public Guid? child2DnaId {get; set;} public Guid? child3DnaId {get; set;} public Guid? child4DnaId {get; set;} } public class GetPermissionWithActingResultDto { public int status {get; set;} = 0; public string message {get; set;} = string.Empty; public GetPermissionWithActingDto result {get; set;} = new(); } }