import {J,eo as f,aw as fa,eq as r,aB as ce}from'./main-WUGO6e7n.js';var s,a=J(()=>{f();fa();s=class n{toQueryString(){let e=[];return this.assigneeId!==null&&this.assigneeId.toString()&&e.push("assigneeId="+encodeURIComponent(this.assigneeId.toString())),this.permission!==null&&this.permission.toString()&&e.push("permission="+encodeURIComponent(this.permission.toString())),this.roleId!==null&&this.roleId.toString()&&e.push("roleId="+encodeURIComponent(this.roleId.toString())),this.key!==null&&this.key.toString()&&e.push("key="+encodeURIComponent(this.key.toString())),this.pageNumber!==null&&this.pageNumber.toString()&&e.push("pageNumber="+encodeURIComponent(this.pageNumber.toString())),this.pageSize!==null&&this.pageSize.toString()&&e.push("pageSize="+encodeURIComponent(this.pageSize.toString())),this.sortField!==null&&this.sortField.toString()&&e.push("sortField="+encodeURIComponent(this.sortField.toString())),this.sortOrder!==null&&this.sortOrder.toString()&&e.push("sortOrder="+encodeURIComponent(this.sortOrder.toString())),e.join("&")}constructor(e=null){this.clone=()=>new n(this),this.assigneeId=r.manageDefaultValue(e,"assigneeId",null),this.permission=r.manageDefaultValue(e,"permission",null),this.roleId=r.manageDefaultValue(e,"roleId",null),this.key=r.manageDefaultValue(e,"key",""),this.pageNumber=r.manageDefaultValue(e,"pageNumber",0),this.pageSize=r.manageDefaultValue(e,"pageSize",0),this.sortField=r.manageDefaultValue(e,"sortField",""),this.sortOrder=r.manageDefaultValue(e,"sortOrder",1);}get permissionKey(){return ce.getEnumKey(this.permission)}};});export{a,s};