| | |
| | | import com.yeshi.fanli.util.StringUtil;
|
| | |
|
| | | public enum CloudOrderMenuEnum {
|
| | | robotMonth(20.00, 1, 1, "机器人月套餐");
|
| | |
|
| | | robotMonth(20.00, 1, 1, "机器人月套餐", "一个月"),
|
| | | robotMonth1(20.00, 1, 1, "机器人月套餐", "三个月"),
|
| | | robotMonth2(20.00, 1, 1, "机器人月套餐", "半年"),
|
| | | robotMonth3(20.00, 1, 1, "机器人月套餐", "一年");
|
| | | |
| | | private double money;
|
| | | private Integer type;
|
| | | private Integer month;
|
| | | private String desc;
|
| | | private String descShow;
|
| | |
|
| | | private CloudOrderMenuEnum(double money, Integer type, Integer month, String desc) {
|
| | | private CloudOrderMenuEnum(double money, Integer type, Integer month, String desc, String descShow) {
|
| | | this.money = money;
|
| | | this.type = type;
|
| | | this.month = month;
|
| | | this.desc = desc;
|
| | | this.descShow = descShow;
|
| | | }
|
| | |
|
| | | public double getMoney() {
|
| | |
| | | return desc;
|
| | | }
|
| | |
|
| | | public String getDescShow() {
|
| | | return descShow;
|
| | | }
|
| | |
|
| | | public static CloudOrderMenuEnum getMenuEnum(String type) {
|
| | | if (StringUtil.isNullOrEmpty(type))
|