package com.ycwl.basic.integration.device.dto.defaults;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

/**
 * 默认配置请求模型
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DefaultConfigRequest {
    
    @NotBlank(message = "配置键不能为空")
    private String configKey;
    
    @NotBlank(message = "配置值不能为空")
    private String configValue;
    
    @NotBlank(message = "配置类型不能为空")
    private String configType;
    
    @NotBlank(message = "配置描述不能为空")
    private String description;
}