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

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

/**
 * @author shenyifei
 */
@Data
@Schema(title = "系统设置")
@EqualsAndHashCode(callSuper = true)
public class SettingVO extends DTO {

	/**
	 * 系统设置项key
	 */
	@Schema(title = "系统设置项key", requiredMode = Schema.RequiredMode.REQUIRED)
	private SettingKeyEnum settingKey;

	/**
	 * 系统设置项内容
	 */
	@Schema(title = "系统设置项内容", requiredMode = Schema.RequiredMode.REQUIRED)
	private SettingValue settingValue;

}

