/* Options: Date: 2025-12-06 13:03:36 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: SearchUserRequest.* //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 { /** * Super_admin Tìm kiếm tất cả người dùng */ @Route(Path="/users/All", Verbs="Get") public static class SearchUserRequest extends PagingRequest implements IReturn> { public String userName = null; public Integer departmentId = null; public Integer partyGroupId = null; public String getUserName() { return userName; } public SearchUserRequest setUserName(String value) { this.userName = value; return this; } public Integer getDepartmentId() { return departmentId; } public SearchUserRequest setDepartmentId(Integer value) { this.departmentId = value; return this; } public Integer getPartyGroupId() { return partyGroupId; } public SearchUserRequest setPartyGroupId(Integer value) { this.partyGroupId = value; return this; } 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 AllUserResponse 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 AllUserResponse getData() { return data; } public BaseResponse setData(AllUserResponse value) { this.data = value; return this; } } public static class PagingRequest { public Integer page = null; public Integer limit = null; public Integer getPage() { return page; } public PagingRequest setPage(Integer value) { this.page = value; return this; } public Integer getLimit() { return limit; } public PagingRequest setLimit(Integer value) { this.limit = 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 UserLogin { @Required() public String name = null; public String getName() { return name; } public UserLogin setName(String value) { this.name = value; return this; } } public static class AllUserResponse { public ArrayList users = null; public Integer code = null; public String message = null; public Integer totalCount = null; public ArrayList getUsers() { return users; } public AllUserResponse setUsers(ArrayList value) { this.users = value; return this; } public Integer getCode() { return code; } public AllUserResponse setCode(Integer value) { this.code = value; return this; } public String getMessage() { return message; } public AllUserResponse setMessage(String value) { this.message = value; return this; } public Integer getTotalCount() { return totalCount; } public AllUserResponse setTotalCount(Integer value) { this.totalCount = value; return this; } } }