/* Options: Date: 2025-12-06 13:02:23 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AssignRolePermissionRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * Phân quền cho role */ @Route(Path="/roles/AssignRolePermission", Verbs="Post") public static class AssignRolePermissionRequest implements IReturn, IPost { public Integer roleId = null; public ArrayList permissionsId = null; public Integer getRoleId() { return roleId; } public AssignRolePermissionRequest setRoleId(Integer value) { this.roleId = value; return this; } public ArrayList getPermissionsId() { return permissionsId; } public AssignRolePermissionRequest setPermissionsId(ArrayList value) { this.permissionsId = value; return this; } private static Object responseType = AssignRolePermissionResponse.class; public Object getResponseType() { return responseType; } } public static class AssignRolePermissionResponse implements IResponseRequest { public Integer code = null; public String message = null; public Integer getCode() { return code; } public AssignRolePermissionResponse setCode(Integer value) { this.code = value; return this; } public String getMessage() { return message; } public AssignRolePermissionResponse setMessage(String value) { this.message = value; return this; } } public static interface IResponseRequest { public Integer code = null; public String message = null; } }