package com.cpop.oam.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 字典数据分页
 * @author DB
 * @version 1.0.0
 * @since 2023-12-01 16:30
 */
@Data
@Accessors(chain = true)
@Schema(description = "字典数据分页返回")
public class DictDataPageVo {

    /**
     * id
     */
    @Schema(description = "id")
    private String id;

    /**
     * 字典标签
     */
    @Schema(description = "字典标签")
    private String dictLabel;

    /**
     * 字典值
     */
    @Schema(description = "字典值")
    private String dictValue;

    /**
     * 字典类型
     */
    @Schema(description = "字典类型")
    private String dictType;

    /**
     * 状态
     */
    @Schema(description = "状态")
    private Boolean status;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer dictSort;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
