package cn.axzo.workflow.common.model.request.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 自定义分类更新模型
 */
@ApiModel("自定义分类更新模型")
@EqualsAndHashCode(callSuper = true)
@Data
public class CategoryUpdateDTO extends CategoryCreateDTO {

    @ApiModelProperty(value = "ID", example = "1")
    @NotNull(message = "字典标签表示不能为空")
    private Long id;

}
