package com.xunhong.erp.turbo.api.biz.dto.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum PurchaseOrderStateEnum {
	/**
	 * 采购订单状态: 0_草稿；1_审核中；2_已完成；3_已驳回；4_已关闭；
	 */
	DRAFT(0, "草稿"),
	WAITING_AUDIT(1, "审核中"),
	COMPLETED(2, "已完结"),
	REJECTED(3, "已驳回"),
	CLOSED(4, "已关闭"),
	;

	@EnumValue
	private final int type;

	private final String message;
}
