修改删除 enum 改为 NO 和 YES 更加好理解

This commit is contained in:
sin 2019-03-22 21:48:26 +08:00
parent 8e5efc430a
commit c76f148c54

View File

@ -10,8 +10,8 @@ import cn.iocoder.common.framework.dataobject.BaseDO;
*/
public enum DeleteStatusEnum {
NOT_DELETE(0, "正常(未删除)"),
DELETE(1, "删除");
DELETE_NO(0, "正常(未删除)"),
DELETE_YES(1, "删除");
/**
* 状态值