Commit 5edc1033 by stylefeng

删掉没用的

parent 2e43830c
package com.stylefeng.guns.common.constant.enums;
import com.baomidou.mybatisplus.enums.IEnum;
import java.io.Serializable;
/**
* 通用的业务状态
*
* @author zhfish
*/
public enum Status implements IEnum{
未启用(0),
启用(1);
private int value;
Status(final int value) {
this.value = value;
}
@Override
public Serializable getValue() {
return this.value;
}
@Override
public String toString(){
switch (this.value) {
case 0:
return "未启用";
case 1:
return "启用";
}
return "未启用";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment