/* Options: Date: 2026-05-09 19:46:36 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://chienbinhdevias-admin-api-sandbox.adnx.vn //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreateOrUpdateUserRequest.* //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="/users", Verbs="POST") public static class CreateOrUpdateUserRequest implements IReturn> { public Integer id = null; public String userName = null; public String password = null; public String fullName = null; public String email = null; public String phone = null; public String address = null; public Integer status = null; public Boolean useTwoFA = null; public String twoFASalt = null; public String twoFASecurityCode = null; public Boolean twoFAStatus = null; public Integer roleId = null; public Integer getId() { return id; } public CreateOrUpdateUserRequest setId(Integer value) { this.id = value; return this; } public String getUserName() { return userName; } public CreateOrUpdateUserRequest setUserName(String value) { this.userName = value; return this; } public String getPassword() { return password; } public CreateOrUpdateUserRequest setPassword(String value) { this.password = value; return this; } public String getFullName() { return fullName; } public CreateOrUpdateUserRequest setFullName(String value) { this.fullName = value; return this; } public String getEmail() { return email; } public CreateOrUpdateUserRequest setEmail(String value) { this.email = value; return this; } public String getPhone() { return phone; } public CreateOrUpdateUserRequest setPhone(String value) { this.phone = value; return this; } public String getAddress() { return address; } public CreateOrUpdateUserRequest setAddress(String value) { this.address = value; return this; } public Integer getStatus() { return status; } public CreateOrUpdateUserRequest setStatus(Integer value) { this.status = value; return this; } public Boolean isUseTwoFA() { return useTwoFA; } public CreateOrUpdateUserRequest setUseTwoFA(Boolean value) { this.useTwoFA = value; return this; } public String getTwoFASalt() { return twoFASalt; } public CreateOrUpdateUserRequest setTwoFASalt(String value) { this.twoFASalt = value; return this; } public String getTwoFASecurityCode() { return twoFASecurityCode; } public CreateOrUpdateUserRequest setTwoFASecurityCode(String value) { this.twoFASecurityCode = value; return this; } public Boolean isTwoFAStatus() { return twoFAStatus; } public CreateOrUpdateUserRequest setTwoFAStatus(Boolean value) { this.twoFAStatus = value; return this; } public Integer getRoleId() { return roleId; } public CreateOrUpdateUserRequest setRoleId(Integer value) { this.roleId = 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 User 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 User getData() { return data; } public BaseResponse setData(User value) { this.data = value; return this; } } }