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

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

@Data
@Schema(title = "分类删除")
@EqualsAndHashCode(callSuper = true)
public class CategoryDestroyCmd extends Command {

	@Schema(title = "分类Id", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	public Long categoryId;

	@Schema(title = "分类类型", hidden = true)
	public CategoryTypeEnum type;
}
