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

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

@Data
@Schema(title = "管理员")
@EqualsAndHashCode(callSuper = true)
public class AdminVO extends DTO {

	/**
	 * 管理员Id
	 */
	@Schema(title = "管理员Id", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private Long adminId;

	/**
	 * 管理员名称
	 */
	@Schema(title = "管理员名称", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private String name;

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

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