32 lines
No EOL
1,004 B
C#
32 lines
No EOL
1,004 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BMA.EHR.Application.Responses.Leaves
|
|
{
|
|
public class GetPermissionWithActingDto
|
|
{
|
|
public string privilege {get; set;} = string.Empty;
|
|
public bool isAct {get; set;} = false;
|
|
public List<ActingPermission> posMasterActs {get; set;} = new();
|
|
}
|
|
|
|
public class ActingPermission
|
|
{
|
|
public string posNo {get; set;} = string.Empty;
|
|
public string privilege {get; set;} = string.Empty;
|
|
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();
|
|
}
|
|
} |