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

import com.alibaba.cola.dto.DTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "字典")
@EqualsAndHashCode(callSuper = true)
public class DictionaryVO extends DTO {

	/**
	 * 自增id
	 */
	@Schema(title = "自增id")
	private Integer dictionaryId;

	/**
	 * 代码
	 */
	@Schema(title = "代码")
	private String code;

	/**
	 * 字典名称
	 */
	@Schema(title = "字典名称")
	private String name;

	/**
	 * 上级id
	 */
	@Schema(title = "上级id")
	private String parentId;

	/**
	 * 排序号
	 */
	@Schema(title = "排序号")
	private Integer sortNo;

	/**
	 * 类型
	 */
	@Schema(title = "类型")
	private String type;

}

