package tech.kotlin.service.article.req

import com.baidu.bjf.remoting.protobuf.FieldType.MAP
import com.baidu.bjf.remoting.protobuf.FieldType.UINT64
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf
import com.fasterxml.jackson.annotation.JsonProperty

class UpdateArticleReq {

    @Protobuf(order = 1, required = true, fieldType = UINT64, description = "文章id")
    @JsonProperty("id")
    var id: Long = 0

    @Protobuf(order = 2, required = true, fieldType = MAP, description = "修改内容")
    @JsonProperty("args")
    var args: Map<String, String> = HashMap()

}