Commit 4e1f2b92 by zhiwj

排序类型

parent ab0a5a03
package com.gic.store.utils;
/**
* @author zhiwj
* @date 2019/6/26
*/
public enum MoveType {
// 排序类型
MOVE_UP(1, "上移"),
MOVE_DOWN(2, "下移"),
TOPPING(3, "置顶"),
BOTTOM(4, "置底");
private Integer code;
private String description;
MoveType(Integer code, String description) {
this.code = code;
this.description = description;
}
public Integer getCode() {
return code;
}
public String getDescription() {
return description;
}
}
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