/* Options: Date: 2025-12-06 13:13:49 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: SearchCategoryRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/category", Verbs="POST") public static class SearchCategoryRequest extends CategoryRequest implements IReturn>> { private static Object responseType = new TypeToken>>(){}.getType(); public Object getResponseType() { return responseType; } } public static class BaseResponse implements IResponseRequest { public Integer code = null; public String message = null; public ArrayList data = null; public Integer getCode() { return code; } public BaseResponse setCode(Integer value) { this.code = value; return this; } public String getMessage() { return message; } public BaseResponse setMessage(String value) { this.message = value; return this; } public ArrayList getData() { return data; } public BaseResponse setData(ArrayList value) { this.data = value; return this; } } public static enum CategoryTypes { Department, PartyGroup, DocGroup, DocType, IssuingAgency, Status, Subjects, Workflow; } public static class CategoryRequest { public Integer id = null; public CategoryTypes type = null; public String name = null; public Integer parentId = null; public Integer getId() { return id; } public CategoryRequest setId(Integer value) { this.id = value; return this; } public CategoryTypes getType() { return type; } public CategoryRequest setType(CategoryTypes value) { this.type = value; return this; } public String getName() { return name; } public CategoryRequest setName(String value) { this.name = value; return this; } public Integer getParentId() { return parentId; } public CategoryRequest setParentId(Integer value) { this.parentId = value; return this; } } public static class UserProfile extends UserLogin { public Integer id = null; public String fullName = null; public String email = null; public Integer departmentId = null; public Integer partyGroupId = null; public String avatar = null; public String telephone = null; public Date birthday = null; public Date createdAt = null; public Date updatedAt = null; public Integer failedLoginCount = null; @Ignore() public ArrayList roles = null; public Date lastLoginDate = null; public Integer getId() { return id; } public UserProfile setId(Integer value) { this.id = value; return this; } public String getFullName() { return fullName; } public UserProfile setFullName(String value) { this.fullName = value; return this; } public String getEmail() { return email; } public UserProfile setEmail(String value) { this.email = value; return this; } public Integer getDepartmentId() { return departmentId; } public UserProfile setDepartmentId(Integer value) { this.departmentId = value; return this; } public Integer getPartyGroupId() { return partyGroupId; } public UserProfile setPartyGroupId(Integer value) { this.partyGroupId = value; return this; } public String getAvatar() { return avatar; } public UserProfile setAvatar(String value) { this.avatar = value; return this; } public String getTelephone() { return telephone; } public UserProfile setTelephone(String value) { this.telephone = value; return this; } public Date getBirthday() { return birthday; } public UserProfile setBirthday(Date value) { this.birthday = value; return this; } public Date getCreatedAt() { return createdAt; } public UserProfile setCreatedAt(Date value) { this.createdAt = value; return this; } public Date getUpdatedAt() { return updatedAt; } public UserProfile setUpdatedAt(Date value) { this.updatedAt = value; return this; } public Integer getFailedLoginCount() { return failedLoginCount; } public UserProfile setFailedLoginCount(Integer value) { this.failedLoginCount = value; return this; } public ArrayList getRoles() { return roles; } public UserProfile setRoles(ArrayList value) { this.roles = value; return this; } public Date getLastLoginDate() { return lastLoginDate; } public UserProfile setLastLoginDate(Date value) { this.lastLoginDate = value; return this; } } public static class DepartmentReport { public Integer departmentId = null; public String departmentName = null; public Integer totalDocuments = null; public Integer getDepartmentId() { return departmentId; } public DepartmentReport setDepartmentId(Integer value) { this.departmentId = value; return this; } public String getDepartmentName() { return departmentName; } public DepartmentReport setDepartmentName(String value) { this.departmentName = value; return this; } public Integer getTotalDocuments() { return totalDocuments; } public DepartmentReport setTotalDocuments(Integer value) { this.totalDocuments = value; return this; } } public static class ColumnMeta { public String key = null; public String label = null; public String getKey() { return key; } public ColumnMeta setKey(String value) { this.key = value; return this; } public String getLabel() { return label; } public ColumnMeta setLabel(String value) { this.label = value; return this; } } public static class LeftMenuItem { public Integer id = null; public String name = null; public Integer count = null; public Boolean isParty = null; public Integer level1ParentId = null; public Integer level2ParentId = null; public Integer level = null; public String type = null; @Ignore() public ArrayList children = null; public Integer getId() { return id; } public LeftMenuItem setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public LeftMenuItem setName(String value) { this.name = value; return this; } public Integer getCount() { return count; } public LeftMenuItem setCount(Integer value) { this.count = value; return this; } public Boolean getIsParty() { return isParty; } public LeftMenuItem setIsParty(Boolean value) { this.isParty = value; return this; } public Integer getLevel1ParentId() { return level1ParentId; } public LeftMenuItem setLevel1ParentId(Integer value) { this.level1ParentId = value; return this; } public Integer getLevel2ParentId() { return level2ParentId; } public LeftMenuItem setLevel2ParentId(Integer value) { this.level2ParentId = value; return this; } public Integer getLevel() { return level; } public LeftMenuItem setLevel(Integer value) { this.level = value; return this; } public String getType() { return type; } public LeftMenuItem setType(String value) { this.type = value; return this; } public ArrayList getChildren() { return children; } public LeftMenuItem setChildren(ArrayList value) { this.children = value; return this; } } public static class SubjectTypeStatistics { public Integer subjectId = null; public Integer typeId = null; public String typeName = null; public Integer count = null; public Integer getSubjectId() { return subjectId; } public SubjectTypeStatistics setSubjectId(Integer value) { this.subjectId = value; return this; } public Integer getTypeId() { return typeId; } public SubjectTypeStatistics setTypeId(Integer value) { this.typeId = value; return this; } public String getTypeName() { return typeName; } public SubjectTypeStatistics setTypeName(String value) { this.typeName = value; return this; } public Integer getCount() { return count; } public SubjectTypeStatistics setCount(Integer value) { this.count = value; return this; } } public static class CategoryStatistics { public Integer id = null; public String title = null; public Integer count = null; public Boolean isParty = null; public Integer getId() { return id; } public CategoryStatistics setId(Integer value) { this.id = value; return this; } public String getTitle() { return title; } public CategoryStatistics setTitle(String value) { this.title = value; return this; } public Integer getCount() { return count; } public CategoryStatistics setCount(Integer value) { this.count = value; return this; } public Boolean getIsParty() { return isParty; } public CategoryStatistics setIsParty(Boolean value) { this.isParty = value; return this; } } public static class UserLogin { @Required() public String name = null; public String getName() { return name; } public UserLogin setName(String value) { this.name = value; return this; } } }