/* Options: Date: 2025-12-06 13:30:03 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAllPermissionRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* /** * Tất cả các quyền của role */ @Route(Path="/roles/all-permission", Verbs="Get") open class GetAllPermissionRequest : IReturn, IGet { companion object { private val responseType = GetAllPermissionResponse::class.java } override fun getResponseType(): Any? = GetAllPermissionRequest.responseType } open class GetAllPermissionResponse : IResponseRequest { var permissionList:ArrayList = ArrayList() var code:Int? = null var message:String? = null } open interface IResponseRequest { var code:Int? var message:String? } open class Permission { @Required() @StringLength(100) var permissionCode:String? = null @Required() @StringLength(255) var permissionName:String? = null @StringLength(255) var description:String? = null }