package com.zhongshu.card.server.core.domain.config;

import com.zhongshu.card.server.core.domain.base.SuperMain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.common.aliasing.qual.NonLeaked;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.HashMap;

/**
 * @author TRX
 * @date 2024/11/5
 */
@Data
@Document
@AllArgsConstructor
@NoArgsConstructor
@NonLeaked
public class CommonConfig extends SuperMain {

    @Schema(description = "关联数据id")
    private String aboutId;

    @Schema(description = "存储值key")
    private String key;

    @Schema(description = "数据")
    private HashMap<String, Object> data = new HashMap<>();
}
