package com.sckw.slope.detection.model.vo;

import com.sckw.core.model.page.PageRequest;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author czh
 * @desc 查字典类型
 * @date 2023/7/6
 */
@Data
public class QueryDictTypePageReqVo extends PageRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = -3459808558841183248L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 字典key
     */
    private String value;

    /**
     * 字典值
     */
    private String label;

    /**
     * 类型code
     */
    @NotBlank(message = "类型code不能为空")
    private String typeCode;

}
