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

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

/**
 * @author shenyifei
 */
@Data
@Schema(title = "系统设置更新")
@EqualsAndHashCode(callSuper = true)
public class SettingUpdateCmd extends Command {
	@Schema(title = "系统设置项ID", type = "string")
	private Long settingId;

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

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

