/* Options: Date: 2025-12-06 13:33:52 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: GetHeadOfDeparment.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/users/head-of-department", Verbs="Get") public static class GetHeadOfDeparment implements IReturn { public Boolean isParty = null; public Boolean getIsParty() { return isParty; } public GetHeadOfDeparment setIsParty(Boolean value) { this.isParty = value; return this; } private static Object responseType = AllUserResponse.class; public Object getResponseType() { return responseType; } } 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; } } 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; } } }