package com.lesingle.creation.dto.dict;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 更新字典 DTO
 */
@Data
@Schema(description = "更新字典请求")
public class UpdateDictDTO {

    @Schema(description = "字典名称")
    private String name;

    @Schema(description = "字典编码")
    private String code;

    @Schema(description = "字典描述")
    private String description;

    @Schema(description = "字典项列表")
    private List<UpdateDictItemDTO> items;
}
