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 MaterialCreateCmd extends Command {

	@Schema(title = "素材内容标题")
	private String name;

	@Schema(title = "分类ID", type = "string")
	private Long categoryId;

	@Schema(title = "素材内容路劲")
	private String path;

	@Schema(title = "素材类型")
	private CategoryTypeEnum type;
}
