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

import com.alibaba.cola.dto.Command;
import com.xunhong.erp.turbo.api.user.dto.enums.AdminTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Builder
@Schema(title = "管理员创建")
@EqualsAndHashCode(callSuper = true)
public class AdminCreateCmd extends Command {

	@Schema(title = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private Long userId;

	@Schema(title = "管理员名称")
	private String name;

	@Schema(title = "管理员类型")
	private AdminTypeEnum type;
}
