DictDataUpdateRequest.java 1.17 KB
package cn.com.glsx.merchants.request.dictdata;

import cn.com.glsx.merchants.request.DefaultRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class DictDataUpdateRequest extends DefaultRequest {

    @ApiModelProperty(notes = "id", required = true)
    @NotNull
    private Long id;

    /**
     * 字典排序
     */
    @ApiModelProperty(notes = "字典排序", required = true)
    @NotNull
    private Integer dictSort;

    /**
     * 字典标签
     */
    @ApiModelProperty(notes = "字典标签", required = true)
    @NotNull
    private String dictLabel;

    /**
     * 字典键值
     */
    @ApiModelProperty(notes = "字典键值", required = true)
    @NotNull
    private String dictValue;

    /**
     * 字典类型
     */
    @ApiModelProperty(notes = "dictType", required = true)
    @NotNull
    private String dictType;

    @ApiModelProperty(notes = "是否启用", required = true)
    @NotNull
    private Integer enableStatus;

    /**
     * 备注
     */
    @ApiModelProperty(notes = "备注")
    private String remark;

}