package com.xunhong.erp.turbo.api.infra.dto.common;

import com.alibaba.cola.dto.DTO;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.xunhong.erp.turbo.api.infra.dto.enums.SettingKeyEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@JsonTypeName("TENCENT_MAP_CONFIG")
@Schema(title = "腾讯地图配置")
@EqualsAndHashCode(callSuper = true)
public class TencentMapConfigValue extends DTO implements SettingValue {
	@Schema(title = "腾讯地图AppKey", requiredMode = Schema.RequiredMode.REQUIRED)
	private String appKey;

	@Override
	public SettingKeyEnum getSettingKey() {
		return SettingKeyEnum.TENCENT_MAP_CONFIG;
	}
}
