/* Options: Date: 2025-12-06 13:08:07 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetDepartmentMembers.* //ExcludeTypes: //InitializeCollections: True //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.* /** * Lấy tất cả người dùng theo phòng ban hiện tại của trưởng phòng */ @Route(Path="/users/GetDepartmentMembers", Verbs="Get") open class GetDepartmentMembers : PagingRequest(), IReturn> { var userName:String? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = GetDepartmentMembers.responseType } open class BaseResponse : IResponseRequest { var code:Int? = null var message:String? = null @SerializedName("data") var Data:AllUserResponse? = null } open class PagingRequest { var page:Int? = null var limit:Int? = null } open class UserProfile : UserLogin() { var id:Int? = null var fullName:String? = null var email:String? = null var departmentId:Int? = null var partyGroupId:Int? = null var avatar:String? = null var telephone:String? = null var birthday:Date? = null var createdAt:Date? = null var updatedAt:Date? = null var failedLoginCount:Int? = null @Ignore() var roles:ArrayList = ArrayList() var lastLoginDate:Date? = null } open class UserLogin { @Required() var name:String? = null } open class AllUserResponse { var users:ArrayList = ArrayList() var code:Int? = null var message:String? = null var totalCount:Int? = null }