/* Options: Date: 2025-12-06 06:23:54 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //Package: //GlobalNamespace: BusinessApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetStaffUserRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class BusinessApi { @Route(Path="/staff/get_user", Verbs="GET") public static class GetStaffUserRequest implements IReturn, IGet, IHasPlaceId { public Long placeId = null; public Long staffId = null; public Long getPlaceId() { return placeId; } public GetStaffUserRequest setPlaceId(Long value) { this.placeId = value; return this; } public Long getStaffId() { return staffId; } public GetStaffUserRequest setStaffId(Long value) { this.staffId = value; return this; } private static Object responseType = GetStaffUserResponse.class; public Object getResponseType() { return responseType; } } public static class GetStaffUserResponse { public StaffDto staffDto = null; public StaffDto getStaffDto() { return staffDto; } public GetStaffUserResponse setStaffDto(StaffDto value) { this.staffDto = value; return this; } } public static interface IHasPlaceId { public Long placeId = null; } public static enum StaffRole { Owner, Admin, Regular; } public static enum BusinessRole { Owner, Manager, Sales, Marketing, Other; } public static class StaffDto { public Long id = null; public String firstName = null; public String lastName = null; public String email = null; public StaffRole role = null; public Long placeId = null; public Long businessId = null; public Long userId = null; public String placeName = null; public String businessName = null; public String mobileNumber = null; public BusinessRole businessRole = null; public Date lastActiveOn = null; public Long getId() { return id; } public StaffDto setId(Long value) { this.id = value; return this; } public String getFirstName() { return firstName; } public StaffDto setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public StaffDto setLastName(String value) { this.lastName = value; return this; } public String getEmail() { return email; } public StaffDto setEmail(String value) { this.email = value; return this; } public StaffRole getRole() { return role; } public StaffDto setRole(StaffRole value) { this.role = value; return this; } public Long getPlaceId() { return placeId; } public StaffDto setPlaceId(Long value) { this.placeId = value; return this; } public Long getBusinessId() { return businessId; } public StaffDto setBusinessId(Long value) { this.businessId = value; return this; } public Long getUserId() { return userId; } public StaffDto setUserId(Long value) { this.userId = value; return this; } public String getPlaceName() { return placeName; } public StaffDto setPlaceName(String value) { this.placeName = value; return this; } public String getBusinessName() { return businessName; } public StaffDto setBusinessName(String value) { this.businessName = value; return this; } public String getMobileNumber() { return mobileNumber; } public StaffDto setMobileNumber(String value) { this.mobileNumber = value; return this; } public BusinessRole getBusinessRole() { return businessRole; } public StaffDto setBusinessRole(BusinessRole value) { this.businessRole = value; return this; } public Date getLastActiveOn() { return lastActiveOn; } public StaffDto setLastActiveOn(Date value) { this.lastActiveOn = value; return this; } } }