/* Options: Date: 2025-12-06 13:18:43 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: UpdateCategoryRequest.* //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.* @Route(Path="/category/update", Verbs="POST") open class UpdateCategoryRequest : CreateCategoryModel(), IReturn { var id:Int? = null var isDeleted:Boolean? = null companion object { private val responseType = CreateCategoryResponse::class.java } override fun getResponseType(): Any? = UpdateCategoryRequest.responseType } open class CreateCategoryResponse : IResponseRequest { var id:Long? = null var code:Int? = null var message:String? = null } enum class CategoryTypes { Department, PartyGroup, DocGroup, DocType, IssuingAgency, Status, Subjects, Workflow, } open class CreateCategoryModel { var name:String? = null var description:String? = null @SerializedName("type") var Type:CategoryTypes? = null var isParty:Boolean? = null @Ignore() var childList:ArrayList = ArrayList() } open interface IResponseRequest { var code:Int? var message:String? }